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

bugzilla-daemon at oss.sgi.com bugzilla-daemon at oss.sgi.com
Thu Nov 6 02:51:26 PST 2008


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 at oss.sgi.com
        ReportedBy: matthijs at stdin.nl


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.



More information about the xfs-masters mailing list