hmm, i was misled by the fact that another link is shown as having mode 0755 [bascule@mycroft cron.daily]$ ls -l total 5 -rwxr-xr-x 1 root root 37 Aug 10 18:10 logcheck* -rwxr-xr-x 1 root root 51 Aug 14 04:12 logrotate* -rwxr-xr-x 1 root root 402 Aug 27 14:39 makewhatis.cron* lrwxr-xr-x 1 root root 27 Oct 16 21:34 msec -> /usr/share/msec/security.sh*
i assumed that i could make the new link have the same permissions as the one above! cheers bascule On Tuesday 19 Nov 2002 8:22 am, Christian Jul Jensen wrote: > On Tue, 19 Nov 2002, bascule wrote: > > i just made a link in cron.daily so that slocate gets run each morning, > > noting the permissions on the daily msec link i tried to set teh same for > > the slocate link but i can't, any ideas > > man chmod says: > chmod never changes the permissions of symbolic links; the > chmod system call cannot change their permissions. This > is not a problem since the permissions of symbolic links > are never used. However, for each symbolic link listed on > the command line, chmod changes the permissions of the > pointed-to file. In contrast, chmod ignores symbolic > links encountered during recursive directory traversals. -- SOME SHADOWS ARE SO LONG, THEY ARRIVE BEFORE THE LIGHT. (Soul Music)
Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
