Re: Permissions question (No Netatalk content)


Subject: Re: Permissions question (No Netatalk content)
From: andrew morgan (morgan@orst.edu)
Date: Fri Aug 04 2000 - 22:59:24 EDT


On Fri, 4 Aug 2000, Steve Freitas wrote:

> Ugh... I put myself in a pickle. Does anybody have a shell script they
> can feed me which will recursively change directory permissions, but not
> file permissions?
>
> I chmod -R 444'd a whole directory with tons of files inside. Oopsie.

change to the same directory you started this problem from and type:

find ./ -type d | xargs chmod 755

This will set the permissions of every subdirectory to 755.

        Andy



This archive was generated by hypermail 2b28 : Wed Jan 17 2001 - 14:31:51 EST