SUMMARY: Default ACLs under Solaris 2.5

From: Tommy Williams (tommy@vumclib.mc.vanderbilt.edu)
Date: Wed Aug 07 1996 - 11:21:56 CDT


Thanks to Torsten Metzner <tom@plato.uni-paderborn.de> for helping me
figure out my problem.

In setting the defaults, I was adding two colons after the default:other
declaration, which causes the operation to fail, but fail quietly.

I was using:

bash# setfacl -m d:u::rwx,d:g::r-x,d:o::r-x,d:m:rwx,d:u:tommy:rwx test
                                   ^^^^^^^^
when I should have used:

bash# setfacl -m d:u::rwx,d:g::r-x,d:o:r-x,d:m:rwx,d:u:tommy:rwx test
                                   ^^^^^^^

I also discovered that even root cannot set default ACLs on a directory
owned by another user. I began working on some directories as root, and ran
into a problem with one, where the command complained about being unable to
set the ACL. It was a directory I owned, and when I exited from su status,
I could change it just fine.

I haven't seen this documented in Sun's literature, so here's another
gotcha for any of you working with ACLs under Solaris 2.5.

--
Tommy Williams
mailto:tommy@vumclib.mc.vanderbilt.edu
  <URL:http://www.mc.vanderbilt.edu/~tommy/>



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:11:06 CDT