homepage Welcome to WebmasterWorld Guest from 54.235.36.164
register, free tools, login, search, subscribe, help, library, announcements, recent posts, open posts,
Subscribe to WebmasterWorld

Home / Forums Index / Hardware and OS Related Technologies / Linux, Unix, and *nix like Operating Systems
Forum Library, Charter, Moderators: bakedjake

Linux, Unix, and *nix like Operating Systems Forum

    
Symlink With Permissions
Create New User With Access To Symlink
boxfan




msg:3240091
 10:26 pm on Feb 1, 2007 (gmt 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/?

 

boxfan




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

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

mcavic




msg:3240319
 3:56 am on Feb 2, 2007 (gmt 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.

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Hardware and OS Related Technologies / Linux, Unix, and *nix like Operating Systems
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About
© Webmaster World 1996-2014 all rights reserved