LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-18-2006, 12:19 AM   #1
emme0032
LQ Newbie
 
Registered: Jul 2006
Posts: 13

Rep: Reputation: 0
sym links and permissions


lrwxrwxrwx 1 root other 10 Aug 15 12:32 current -> foobar//

since this symlink has world write permissions is it possible to change what file it points to as a non root user? And user not in group other?
 
Old 11-18-2006, 12:34 AM   #2
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,284

Rep: Reputation: 371Reputation: 371Reputation: 371Reputation: 371
Depends on the permissions of foobar. Symlinks don't really have permissions in and of themselves; the permissions of the file/directory being linked to govern access.
 
Old 11-18-2006, 03:26 AM   #3
emme0032
LQ Newbie
 
Registered: Jul 2006
Posts: 13

Original Poster
Rep: Reputation: 0
Thanks for the answer.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Sym links and hard links akudewan Linux - Newbie 4 02-09-2005 06:08 AM
sym links -- RealPlayer lmellen Linux - Newbie 2 08-29-2004 03:29 PM
Dead sym links Hangdog42 Linux - General 5 10-02-2003 05:35 AM
Sym Links and vsFTPd Datacraft Linux - Software 1 05-24-2003 06:20 PM
dead sym links dewcansam Linux - General 1 02-08-2002 05:49 PM


All times are GMT -5. The time now is 06:00 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration