Re: chmod, chgrp and symlinks
From: Nico Kadel-Garcia (nkadel@bellatlantic.net)
Date: 02/04/03
- Next message: Jem Berkes: "Re: nmap ?"
- Previous message: Nico Kadel-Garcia: "Re: e-zines"
- In reply to: Ramazan Jah-Far: "Re: chmod, chgrp and symlinks"
- Next in thread: Kasper Dupont: "Re: chmod, chgrp and symlinks"
- Reply: Kasper Dupont: "Re: chmod, chgrp and symlinks"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
From: "Nico Kadel-Garcia" <nkadel@bellatlantic.net> Date: Tue, 04 Feb 2003 01:10:05 GMT
"Ramazan Jah-Far" <ramazanjf@svitonline.com> wrote in message
news:slrnb3t6cm.1au.ramazanjf@localhost.localdomain...
> Hi!
> In comp.os.linux.security, luc wastiaux wrote:
> lw> And other than installing the openwall kernel or patching chmod/chgrp
> lw> are there other ways of making my script secure ?
>
> Try this: instead of
> chown -R luc.mp3 $dir/luc/
> use
> chown -R --no-dereference luc:mp3 $dir/luc/
> etc. But I think chown doesn't dereference symlinks
> by default :).
You've *completely* ignored hard links.
- Next message: Jem Berkes: "Re: nmap ?"
- Previous message: Nico Kadel-Garcia: "Re: e-zines"
- In reply to: Ramazan Jah-Far: "Re: chmod, chgrp and symlinks"
- Next in thread: Kasper Dupont: "Re: chmod, chgrp and symlinks"
- Reply: Kasper Dupont: "Re: chmod, chgrp and symlinks"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|