[CentOS] virtual ftp users, web permissions

Dave

dave.mehler at gmail.com
Sun Aug 30 04:36:23 UTC 2009


Hello,
	I'm running CentOS 5.3. I've got an ftp server set up a pure ftpd
server using virtualchroot so that sym links are followed. One user i'll
call him user1 in the ftpuser/ftpgroup which is the user and group the
server is running under has a symlink in his home directory pointing to the
documentroot of a web site. I've got the sticky bit set on the documentroot
and have permissions set so that users in the webdev group can write to this
area, the pure-ftpd virtual user, which is a system user with a password in
/etc/passwd,  is in this group. On upload the user1 can upload to the web
documentroot. However, the server is unable to display the pages. On
checking the status of the uploaded file i see that permissions are not
sticky instead of being owned and in a group of apache:webdev which is what
they should be permissions are ftpuser:ftpgroup with permission bits 600
which means there's no way the web server will see these files. 
	If i haven't lost anyone options for simplifying this would be
appreciated, and suggestions as what i can try to get the permissions to be
able to be set up in the docroot.
Thanks.
Dave.




More information about the CentOS mailing list