Hi I'm using CentOS 6.5 and we use the users home dir + "public_html" as the docroot for our websites like this:
/home/user_name/public_html
We are using SSH for SFTP. Each host has only one SFTP user.
What I need to do is add a directory, lets call it uploads like this:
/home/user_name/public_html/uploads
Any content in uploads must be accessible to Apache so it can be displayed.
And I would like to add a user that can only access
/home/user_name/public_html/uploads and would be able to add/edit/remove any files in just the uploads directory.
I thought of a link, however that did not work. I created a
user uploads which created a home dir /home/uploads and I tried to link that to /home/user_name/public_html/ which created
/home/user_name/public_html/uploads . This did not work.
I hope this makes sense.
Any suggestions?
Thanks in advance!!
Keith