Re: [Help-bash] How to safely work on files/dirs with .
From:
Greg Wooledge
Subject:
Re: [Help-bash] How to safely work on files/dirs with .
Date:
Mon, 21 Mar 2016 08:04:28 -0400
User-agent:
Mutt/1.4.2.3i
On Sat, Mar 19, 2016 at 11:31:13AM -0600, Bob Proulx wrote:
> And then the setting of umask is not involved in the result.
> Especially because some people have umask 027 set causing a result
> other than what I want to have happen.
This is why I just use the octal value I want. If I want 644 then I
chmod 644. I find the letter-based alternatives confusing, and I have
to convert them mentally to the octal form to try to figure out what
they're going to do.