943,697 Members | Top Members by Rank

Jul 29th, 2009
0

Ownership and permissions for apache in linux

Expand Post »
I need to enable ftp access on some web directories in apache. What is the best way to do this?

My apache server is running on linux. It runs as user wwwrun and group www.
What should be the permissions and who should be the owner of the web directories and files?

What I need to do is to enable ftp administration of one of these web directories. It contains one free Customer Relationship Management web application. It stores data in mysql. It has lots of directories and files. To tell the truth I do not know much this application. This application is managed by one third party group.
I tell them that I make ftp access to the complete directory and asked them to set the right permissions on each file.

My ftp (pureftpd) server runs as ftpuser and ftpgroup. When the ftp client connects it cannot make any changes in files because the ftpuser do not have any permissions.
What is the best way to allow ftp admin on it?
Last edited by slacke; Jul 29th, 2009 at 10:41 am.
Similar Threads
Reputation Points: 14
Solved Threads: 7
Junior Poster
slacke is offline Offline
105 posts
since Jun 2006
Aug 8th, 2009
0

Re: Ownership and permissions for apache in linux

The permission related issue is solved now.
I moved the ftpuser into www group under which the apache runs and set the permissions for the web directory so that group can change them.
Reputation Points: 14
Solved Threads: 7
Junior Poster
slacke is offline Offline
105 posts
since Jun 2006

This thread is solved

Either the thread starter or a moderator has marked this thread as solved. You can most likely trust the responses and answers given. There is most likely no reason for any further responses to be posted here. If you have a related question, please start a new thread in this forum instead.

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in Linux Servers and Apache Forum Timeline: Move server from SUSE E10 to Slackware
Next Thread in Linux Servers and Apache Forum Timeline: Linux Distro with a Hint of Hyper-V a la Perlow.





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC