[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: chmod + chown
On Monday, March 29, 2004, at 02:03 PM, john doe wrote:
> is there any way to do a recursive chmod where it only modifies the
> file if it has a certain owner and group? i dont want to have to
> resort to shell scripting if i dont have to
>
> i can with chown, which rocks, but i would like to be able to do it
> with chmod.
>
> also is there an easy way to do something like chmod 754 for
> directories but 755 for files? (not necessarily those 2 sets of
> permissions, but one set of permission bits for folders and another
> for files. that is more what i am after)
Yes, 'man find' I think Mike might have some samples on his wiki. I'd
write more, but am tied up right now.
Regards,
- Robert
-
To unsubscribe, send email to majordomo@silug.org with
"unsubscribe silug-discuss" in the body.