bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#19447: chmod - problem


From: Pádraig Brady
Subject: bug#19447: chmod - problem
Date: Sat, 27 Dec 2014 01:19:30 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.3.0

tag 19447 notabug
close 19447
stop

On 26/12/14 18:28, Tom wrote:
> Hi
> 
> chmod does not work recursively. The command
> 
> chmod --recursive --verbose a-x ./*.txt
> 
> only has effects in the actual working directory, but not in the 
> subdirectories.

You're passing only .txt files to chmod here
so the --recursive option in ineffective here.
You probably want something like:

  find . -name '*.txt' -print0 | xargs -r0 chmod --verbose a-x

cheers,
Pádraig





reply via email to

[Prev in Thread] Current Thread [Next in Thread]