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 #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: francky.leyn <at> telenet.be
To: bug-coreutils <at> gnu.org
Cc: Francky Leyn <Francky <at> Leyn.eu>
Subject: chmod -p --parents
Date: Thu, 26 May 2011 22:13:05 +0200 (CEST)
[Message part 1 (text/plain, inline)]

Hello, 



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 this option for chmod for the following reason. 

I want my home directory shut. I do this with 

"chmod -R gw-rwx". The problem arises when I want to 

set open some file for group or world. Then I have to set 

open each directory level concerning this file. These 

can be numerious directories. All this is cumbersome, and a 

waist of time and energy. 



I want to be able to execute the following: 

chmod a+rx -p ~/dir1/dir2/dir3/file.ext 
It should be more refined however: the dirs 

should be rx, but the file only r. 



Please let me hear something. 



Best regards, 



Francky Leyn, 



www.Leyn.eu
[Message part 2 (text/html, inline)]

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.