Welcome to WebmasterWorld Guest from 54.197.187.2

Forum Moderators: bakedjake

Message Too Old, No Replies

Symlink With Permissions

Create New User With Access To Symlink

     
10:26 pm on Feb 1, 2007 (gmt 0)

Junior Member

10+ Year Member

joined:Jan 4, 2006
posts:77
votes: 0


Hello,

I have a linux server which is being used for images and media file storage only.

In the root directory I have a symlink named public_html which links to /home/images/public_html which links to /var/www/html/ which is where the files are being stored.

I created a new user so he can access the files via scp but when I create a symlink to /var/www/html/ in the new users home directory /home/username the link of course is not accessible due to permissions since the original directory is accessible by root only.

My question is how do I create a symlink in the users folder that has access to /var/www/html/?

12:06 am on Feb 2, 2007 (gmt 0)

Junior Member

10+ Year Member

joined:Jan 4, 2006
posts: 77
votes: 0


Hmm... chmoding /var/www/html/ 0755 seemed to work.
3:56 am on Feb 2, 2007 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:Mar 31, 2003
posts:1316
votes: 0


Symlinks don't have permissions. The directory the link is in has perms, and the file or directory that the link points to has perms.
 

Join The Conversation

Moderators and Top Contributors

Hot Threads This Week

Featured Threads

Free SEO Tools

Hire Expert Members