[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Coreutils-gotchas
From: |
Mike Frysinger |
Subject: |
Re: Coreutils-gotchas |
Date: |
Tue, 1 Dec 2015 09:58:38 -0500 |
On 30 Nov 2015 10:37, Eric Blake wrote:
> On 11/28/2015 11:34 PM, Assaf Gordon wrote:
> > On 11/29/2015 12:16 AM, Pádraig Brady wrote:
> >
> >>> I must collate some gotchas like this.
> >>
> >> Initial list started at:
> >> http://www.pixelbeat.org/docs/coreutils-gotchas.html
> >>
> >
> > Fantastic list!
>
> Agreed.
>
> On the chmod entry, it might also be worth mentioning that:
>
> chmod -R a-x,a+X
>
> works to remove execute permissions on regular files but not
> directories, without needing a 'find'/'xargs' pair.
the xargs usage seems pointless/wasteful to me. just do:
find -type f -exec chmod 644 {} +
-mike
signature.asc
Description: Digital signature
- Re: Coreutils-gotchas,
Mike Frysinger <=