[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: chmod refuses....
From: |
David T-G |
Subject: |
Re: chmod refuses.... |
Date: |
Tue, 21 Jan 2003 21:29:19 -0500 |
User-agent: |
Mutt/1.4i |
MMC --
...and then root said...
%
% IN mandrake 9.0:
% address@hidden alternatives]# ll *77
% lrwxrwxrwx 1 root root 16 Jan 21 15:48 f77 ->
/usr/bin/g77-3.2*
% lrwxr-xr-x 1 root root 16 Dec 20 09:27 g77 ->
/usr/bin/g77-3.2*
% address@hidden alternatives]# chmod g-w *77
% address@hidden alternatives]# ll *77
% lrwxrwxrwx 1 root root 16 Jan 21 15:48 f77 ->
/usr/bin/g77-3.2*
% lrwxr-xr-x 1 root root 16 Dec 20 09:27 g77 ->
/usr/bin/g77-3.2*
This is expected. chmod doesn't work on links; you must chmod the target
of the link. In other words, you cannot make a link that some can use
and another link that some can't if they both point to the same file.
...
% best to reply to address@hidden
Then why didn't you send it from that account?
% Thanks, MMC
HTH & HAND
:-D
--
David T-G * There is too much animal courage in
(play) address@hidden * society and not sufficient moral courage.
(work) address@hidden -- Mary Baker Eddy, "Science and Health"
http://justpickone.org/davidtg/ Shpx gur Pbzzhavpngvbaf Qrprapl Npg!
pgpy0kdYRneDa.pgp
Description: PGP signature