xfs
[Top] [All Lists]

Re: execute bit on new files

To: linux-xfs@xxxxxxxxxxx
Subject: Re: execute bit on new files
From: Sean Neakums <sneakums@xxxxxxxx>
Date: Sun, 05 Jan 2003 15:11:57 -0800
In-reply-to: <av8tbk$ud2$1@xxxxxxxxxxxxxx> ("Stig Are M. Botterli"'s message of "Sun, 5 Jan 2003 09:19:48 +0000 (UTC)")
Mail-followup-to: linux-xfs@xxxxxxxxxxx
Organization: The Emadonics Institute
References: <av8tbk$ud2$1@xxxxxxxxxxxxxx>
Sender: linux-xfs-bounce@xxxxxxxxxxx
User-agent: Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.2 (i386-debian-linux-gnu)
commence  Stig Are M. Botterli quotation:

> Using ACLs, is it possible to make it so that all new files below a
> particular dir are created with the execute bit set? While the umask
> can be overridden by setting the default ACL, it seems the execute
> bit won't take.

The umask does not give but take away; the mode passed by the
application has all of the set bits in the umask turned off.  If the
application does not have the execute bit set in the mode it passes to
open/creat, then I do not believe there is a way to use ACLs to force
execute on for all cases.

-- 
 /                          |
[|] Sean Neakums            |  Questions are a burden to others;
[|] <sneakums@xxxxxxxx>     |      answers a prison for oneself.
 \                          |


<Prev in Thread] Current Thread [Next in Thread>