The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > OS Specific Forums > OS X (Apple)
Google UNIX.COM
Home Forums Register Rules & FAQ Members List Arcade Search Today's Posts Mark Forums Read


OS X (Apple) OS X is a line of Unix-based graphical operating systems developed, marketed, and sold by Apple.


Other UNIX.COM Threads You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
A challenging problem involving symbolic links. ibloom High Level Programming 2 03-24-2008 06:07 AM
Symbolic Links rcarnesiii AIX 1 08-17-2005 11:57 AM
cp a dty without symbolic links? JAKEZ SUN Solaris 7 09-21-2004 09:55 AM
Symbolic Links for a File b_u_n_1234 UNIX for Dummies Questions & Answers 4 03-06-2002 08:58 AM
Finding symbolic links mehtad UNIX for Dummies Questions & Answers 2 11-15-2001 02:26 PM

Reply
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 06-07-2004
Registered User
 

Join Date: Jun 2004
Posts: 2
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiReddit! Stumble this Post!Spurl this Post!
Problem changing owner of symbolic links?

Strangely, chown and chmod don't seem to work on symlinks. In particular, I tried this (as root):

# touch foo
# ln -s foo mysymlink
# chown SOMEUSER mysymlink


as well as changing the last line to:

# chown -h someuser mysymlink

where "-h" is supposed to change the UID of the actualy symbolic link.

However both yield:

# ls -l mysymlink
lrwxr-xr-x 1 root admin 3 7 Jun 16:50 mysymlink -> foo

Also, I tried changing the user of the target file, but this has no affect on the user of the symlinked file.

This is very annoying! Anyone know what is going on? I'm using OS X 10.3.4.

Thanks,
Noah
Reply With Quote
Forum Sponsor
  #2 (permalink)  
Old 06-07-2004
Registered User
 

Join Date: Sep 2002
Location: San Fran
Posts: 105
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiReddit! Stumble this Post!Spurl this Post!
wow. that is whacky.

still looking...
Reply With Quote
Google UNIX.COM
Reply



Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -7. The time now is 02:25 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008 The CEP Blog All Rights Reserved -Ad Management by RedTyger

Search Engine Optimization by vBSEO 3.1.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102