[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Help! File permissions keep changing...



> This is a security nightmare. I would *not* recommend doing any such
> thing in a user filesystem.

You're making the assumption that he LIKES his users. :)

On Wed, 18 Feb 2004, Michael Stone wrote:

> On Wed, Feb 18, 2004 at 02:15:36AM +0100, Javier Fernández-Sanguino Peña wrote:
> >DIR_TO_FIX=/home/groupX
> >GROUP=mygroup
> >PERM=g+rwX
> >
> >find $DIR_TO_FIX -type f -o -type d | xargs chown $GROUP
> ># or chown -hR $GROUP $DIR_TO_FIX
> >find $DIR_TO_FIX -type f -o -type d | xargs chmod $PERM
> ># or chmod -hR $PERM $DIR_TO_FIX
>
> This is a security nightmare. I would *not* recommend doing any such
> thing in a user filesystem.
>
> Mike Stone
>
>
> --
> To UNSUBSCRIBE, email to debian-security-request@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
>
>



Reply to: