homepage Welcome to WebmasterWorld Guest from 54.237.213.31
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
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

5+ Year Member



 
Msg#: 3240089 posted 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

5+ Year Member



 
Msg#: 3240089 posted 12:06 am on Feb 2, 2007 (gmt 0)

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

mcavic

WebmasterWorld Senior Member 10+ Year Member



 
Msg#: 3240089 posted 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.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved