[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] new chmod flag: R = r for files, rx for dirs
From: |
vda |
Subject: |
Re: [PATCH] new chmod flag: R = r for files, rx for dirs |
Date: |
Wed, 21 Nov 2001 22:44:22 +0000 |
To Bob Proulx <address@hidden> [direct emails rejected by mail.proulx.com]
============================
On Wednesday 21 November 2001 06:52, you wrote:
> > This is a result of discussion on lkml on usefulness of x bit on dirs.
> > It adds new flag to chmod:
> >
> > chmod -R a+R dir
> >
> > R=(r for files, rx for dirs)
>
> Would it be possible to give a little more rational behind this? I
> don't see the need for this option. It doesn't mean you couldn't
> convince me, however.
>
> > Without this flag, in order to achieve functionality of above command
> > one needs to write ridiculously long script.
>
> Such as the following? What am I missing?
>
> chmod -R a+rX dir
This will make all files a+r, all dirs a+rx, _and_ all files with at least one
x bit set a+rx. I don't want those files to become world-executable! What if
some of them are SUIDs?
--
vda
PS. I can't reach you Bob. Look:
================================================
Warning: could not send message for past 4 hours
From: Mail Delivery Subsystem <address@hidden>
To: <address@hidden>
The original message was received at Wed, 21 Nov 2001 12:11:18 +0200
from [172.16.42.97]
----- The following addresses had transient non-fatal errors -----
<address@hidden>
----- Transcript of session follows -----
... while talking to mail.proulx.com.:
>>> RCPT To:<address@hidden>
<<< 450 Client host rejected: cannot find your hostname, [195.66.192.167]
<address@hidden>... Deferred: 450 Client host rejected: cannot find your
hostname, [195.66.192.167]
Warning: message still undelivered after 4 hours
Will keep trying until message is 5 days old