[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ale] chmod question
- Subject: [ale] chmod question
- From: cfowler at outpostsentinel.com (Christopher Fowler)
- Date: Mon Jun 7 12:27:26 2004
- In-reply-to: <[email protected]>
- References: <[email protected]>
find /dir -type f -exec chmod 666 {} \;
On Mon, 2004-06-07 at 12:17, Keith Morris wrote:
> Hello all.
> I have a production samba server that has thousands of files that I need
> to change permissions on. I would like to change all files to have
> permissions of 666 as there are no linux executable files there.
>
> Is there a way to use chmod recursively where it will only change the
> permissions on the files and not the directories? chmod -R changes
> everything thus making the directories non-traversable.
>
> Any suggestions?
>
> Thanks in advance.
> Keith Morris
>
>
> _______________________________________________
> Ale mailing list
> Ale at ale.org
> http://www.ale.org/mailman/listinfo/ale