yep that worked swimmingly except that i forgot to add a find -type f -print0 | xargs -0 in front of it i accidentally set all of my html/gif/jpg etc. files to 2775. fixt now
thanks ;) _________________________________ daniel a. g. quinn starving programmer war does not determine who is right--only who is left. - bertrand russell ----- Original Message ----- Sent: Tuesday, July 02, 2002 12:18 PM Subject: Re: chmod: sticky bit | -----BEGIN PGP SIGNED MESSAGE----- | Hash: SHA1 | | daniel wrote: | | >i understand that you can set the sticky bit on a directory so that | >everything created in that directory will be set to that group, but what i | >don't know how to do, is make that recursive. | | # chmod -R 2775 . | | Thereafter, that mode will propogate when a user creates a directory | below it, _if_ that user's umask is set appropriately. In this case, | you probably want it to be 002. | | Does that help? | | - -d | | | | - -- | David Talkington | | PGP key: http://www.prairienet.org/~dtalk/0xCA4C11AD.pgp | | -----BEGIN PGP SIGNATURE----- | Version: PGP 6.5.8 | Comment: Made with pgp4pine 1.75-6 | | iQA/AwUBPSH8i79BpdPKTBGtEQJU9ACgtVgKJ5NnbdMAHhH2dYkVeKrGeW4Anjoe | xIrS4hQdD8Z3aXVYQdWKdqdl | =enf1 | -----END PGP SIGNATURE----- _______________________________________________ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list
