[clue-tech] Stupid User Trick -- Need to fix some permissions
Dave Gray
yargevad at gmail.com
Thu Jan 12 14:57:56 MST 2006
On 1/11/06, William <wlist-clue at kimballstuff.com> wrote:
> In short, I goofed and need to fix some permissions.
>
> I ran a command similar to (in order to set rw permissions as I need on
> all files under a particular tree):
> chmod -R 664 /some/directory/path/*
>
> Consequently, none of the child directories have any x bits set. This
> is apparently a problem because I now cannot create any new files under
> these directories. I want ONLY the directories themselves to have the
> ugo x bits set, not files. How can this be done most easily?
Another (less efficient, but more flexible) way would be:
find /some/directory/path -type d -exec chmod a+x {} \;
Cheers,
Dave
_______________________________________________
CLUE-tech mailing list
CLUE-tech at cluedenver.org
http://cluedenver.org/mailman/listinfo/clue-tech
More information about the clue-tech
mailing list