GNU bug report logs - #8736
chmod -p --parents

Previous Next

Package: coreutils;

Reported by: francky.leyn <at> telenet.be

Date: Thu, 26 May 2011 22:31:02 UTC

Severity: normal

Tags: wontfix

Done: Assaf Gordon <assafgordon <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


Message #8 received at 8736 <at> debbugs.gnu.org (full text, mbox):

From: Erik Auerswald <auerswal <at> unix-ag.uni-kl.de>
To: francky.leyn <at> telenet.be
Cc: 8736 <at> debbugs.gnu.org, Francky Leyn <Francky <at> Leyn.eu>
Subject: Re: bug#8736: chmod -p --parents
Date: Fri, 27 May 2011 16:54:57 +0200
Hi,

On Thu, May 26, 2011 at 10:13:05PM +0200, francky.leyn <at> telenet.be wrote:
> 
> In the past, I was an advocate of the -p --parents option for 
> mkdir. By now this is realised. Now I'm doing the same for chmod. 
> [...]
> I want to be able to execute the following: 
> 
> chmod a+rx -p ~/dir1/dir2/dir3/file.ext 

I like the proposal.

> It should be more refined however: the dirs 
> should be rx, but the file only r. 

You can use a capital X to automatically handle the directory case. But
please take a look at the docs for the _exact_ meaning of X.

Regards,
Erik
-- 
In the beginning, there were not enough colors.
                        -- Guy Keren




This bug report was last modified 6 years and 219 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.