xfs-masters
[Top] [All Lists]

[Bug 795] New: setfacl sets 'x' bit on files

To: xfs-master@xxxxxxxxxxx
Subject: [Bug 795] New: setfacl sets 'x' bit on files
From: bugzilla-daemon@xxxxxxxxxxx
Date: Thu, 6 Nov 2008 02:51:26 -0800
http://oss.sgi.com/bugzilla/show_bug.cgi?id=795

           Summary: setfacl sets 'x' bit on files
           Product: Linux XFS
           Version: Current
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: xfsprogs
        AssignedTo: xfs-master@xxxxxxxxxxx
        ReportedBy: matthijs@xxxxxxxx


When the 'x' bit is present in an acl, it gets set onto a file unconditionally.
While this seems like nice and consistent behaviour, it is unwanted to have x
bits all over the place in recursive mode.

It would be good to strip out x bits from files automatically. However, this
should probably be optional, since there might be cases where you don't want 
that.

My suggestion would be to add a -x, --strip-x option to strip the execute bit
from files, and leave them intact by default. Leaving them by default makes
compatibility with for example chmod the greatest.

-- 
Configure bugmail: http://oss.sgi.com/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

<Prev in Thread] Current Thread [Next in Thread>
  • [Bug 795] New: setfacl sets 'x' bit on files, bugzilla-daemon <=