FTP permissions and apache

Status
Not open for further replies.

White_Wolf

Baseband Member
Messages
92
This probably isn't the right forum to ask in, but:

I am running Apache on Linux Fedora5, on a virtual private server.

I got this problem.
On my forum, every time I try to install an add-on, the newly created files have their permissions set to "apache" as the owner, instead of my FTP account name.

When this happens I cannot change the chmod settings, and I can't even delete the files; neither through my FTP or the server interface (Plesk)

So I guess I really have three questions:
1. How do I change file/directory ownership from Apache to my FTP user name?
2. How do I stop my forum from assigning ownership of files and directories to apache?
3. If ownership can't be changed, how do I at least delete these files from my server?
 
As root you can do
Code:
chown user:usergroup file
or
Code:
chown -R user:usergroup folder

I don't use Apache so I'm not sure exactly why it does this, but it might be for security reasons. Try it and if something gets fuxxed up just change it back.
 
Status
Not open for further replies.
Back
Top Bottom