Welcome to WebmasterWorld Guest from

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)

5+ Year Member


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)

5+ Year Member

Hmm... chmoding /var/www/html/ 0755 seemed to work.


3:56 am on Feb 2, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member

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.

Featured Threads

Hot Threads This Week

Hot Threads This Month