Re: chmod -R +x for directories only
- From: Jason Clifford <jason@xxxxxxxxxx>
- Date: Tue, 30 Aug 2005 12:14:46 +0100
On Tue, 30 Aug 2005, billy wrote:
> Is it possible to change the permissions of a directory tree
> (recursively) for execute on directories only?
Yes, you can do this using find with the exec option:
Example:
find . -type d -exec chmod g-rwx '{}' \;
This would change the permissions to remove read write and execute from
the group the file belongs to.
Jason
--
UKFSN.ORG Finance Free Software while you surf the 'net
http://www.ukfsn.org/ 2Mb ADSL Broadband from just £14.98 / month
Bonded ADSL now available
.
- References:
- chmod -R +x for directories only
- From: billy
- chmod -R +x for directories only
- Prev by Date: Throttling network interface traffic
- Next by Date: Re: chmod -R +x for directories only
- Previous by thread: chmod -R +x for directories only
- Next by thread: Re: chmod -R +x for directories only
- Index(es):
Relevant Pages
|