| Author |
Message |
Lycander
Lead Dog


Joined: 24 May 2002 Age: 25 Posts: 12198
Location: The Constitution State
|
Posted:
Fri Nov 26, 2004 4:11 am Post subject: FTP permissions |
|
So I turned on file sharing and web sharing (in *nix terms: httpd and ftpd). Everything works fine except whenever I upload a file through FTP, the permissions aren't properly set.
I'm trying to upload pictures of my 3D renders, then post them in my phpBB that I run internally. Whatever user account that apache is running as, it's not allowed to access the files in my ftp default drop.
I did try going in and changing permissions on the folder itself so that any user can access it, but new files put in that folder do not inherit those permissions. I have to manually change the file permissions in Finder.
Any ideas how I can resolve this? Is it something I have to do in OSX, or is it the way my FTP program (running on Windows) is putting these files into the OSX destination? I'm using Panther on an iBook BTW. |
_________________ To the top of hunger mountain
I found my solitary ways
Where I could live on nuts and honey
And take my shelter in a cave
|
|
|
|
|
krbshappy71
Tail-Wagger


Joined: 01 Jan 2004 Posts: 2978
Location: Snuggling the puppydawgs
|
Posted:
Fri Nov 26, 2004 8:29 am Post subject: |
|
|
|
|
|
onefast1
Tail-Wagger


Joined: 27 Feb 2004 Posts: 2325
Location: Lichtenstien Penguin Cove, I'm the King one.
|
Posted:
Fri Nov 26, 2004 9:06 am Post subject: |
|
I had that problem before also, I had to change ownership on the folder from system to the user. It seemed to work ok after that. |
_________________ Watch out for the cross eyed penguin, he can get a little crazy at times.
|
|
|
|
|
Lycander
Lead Dog


Joined: 24 May 2002 Age: 25 Posts: 12198
Location: The Constitution State
|
Posted:
Fri Nov 26, 2004 1:54 pm Post subject: |
|
Yes my folder is in the "Public" folder, and yes I've changed the folder's ownership and permissions to my user account. I think the problem is my web server process runs in neither "System" nor my user account. I believe there's a Unix user account "apache" that it runs in. |
_________________ To the top of hunger mountain
I found my solitary ways
Where I could live on nuts and honey
And take my shelter in a cave
|
|
|
|
|
|
|