-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Mark,

On 2/13/15 1:02 PM, Mark H. Wood wrote:
> On Fri, Feb 13, 2015 at 11:46:37AM -0500, Christopher Schultz
> wrote:
>> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256
>> 
>> Alexander,
>> 
>> On 2/12/15 2:26 PM, Alexander Johnson wrote:
>>> It looks like that's true.  It turns out this wasn't a
>>> permissions issue at all.  For some reason copying the JAR
>>> files out of the directory and back into it caused them to be
>>> picked up (I read this in a suggestion somewhere).  Reading the
>>> 'man' entry for cp I see that it doesn't preserve "Access
>>> Control Lists (ACLs) and Extended Attributes (EAs), including
>>> resource forks" unless the -p flag is set (this is on by
>>> default when using mv).  My guess is that removing this "access
>>> control" information somehow made the files accessible to the
>>> tomcat7-maven-plugin.  It seems a little sketchy that I don't
>>> really know the root cause of the problem, but I'm happy that
>>> it's now fixed.
>> 
>> Aah, yes: the ACL. That's one of those super-fun *NIX-isms that
>> can ruin your day.
>> 
>> $ ls -l
>> 
>> - -rwxrwxrwx chris chris   100 a_file
>> 
>> $ cat a_file
>> 
>> cat: a_file: Permission denied
>> 
>> *grumble*
>> 
>> The best part is that 'ls' doesn't show you there is a problem,
>> at least not directly. Everyone always forgets about the other
>> commands.
> 
> The 'ls' that comes as part of Gnu Coreutils will, when built that 
> way, add a "+" to the mask to show that there is an ACL on the 
> object.  (But that's all it does -- I still have to remember to
> use 'getfacl' to see what the ACL actually *says*.)

Yep.

- From Alexander's previous message, it did not seem like 'ls' was
notifying him about the presence of the acl. I checked the
gnu-coreutils man pages and info pages, and neither mention ACLs. Can
you give me a reference for the "+" thing?

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
Comment: GPGTools - http://gpgtools.org

iQIcBAEBCAAGBQJU3kCZAAoJEBzwKT+lPKRYLN0QAJGG8VCnEK/uUQ/be965xT0e
gwNKFdAc0+f18a2Cod2Qa5pzUel4n2J/GRdMztx2UrkUH5sJXsU8dkS29Zwp/a8I
53wpV+vSUFtIXku9I/S7qctibxkimF7D5SIIVkSQe8XH67mnlBUIBBgHB1/ZxaKd
F4WuWiSBmjuFE1nmPtTbmO+d2z7PvSnceN0TLbrxMQnk+n53HkrNXCHioMFUG4FE
uHYF4snDXEALogaIcuDdROEabkaQOy3GFkkShM34sbyScIi9OnvczdebUqtlXrkE
pVMg1YXePmqV2mKzkYztFT17ajwcMYxrhnE16mTuHTXJnok/ANxqzESZKqALQyhO
7Y4ctIG1AGlXlaKwxVRxM1IE35VDlkeVyBigpuaC5JecQ3TV8FXii32FgefFIWoe
vl4cT1nbLeLr6FOx1J/d7sYu9ky2XAaiEcosPh8Vz+rPrRLPHsLcpnVlddDz02Tc
XVfAVGD64UXJJweX2PfYu0coJqJjY54p1r+GZAYFRhWlqbzrFU95SlrS0hBhaq7F
V0/7Wz9TpvGJ31HNXqo+kjeVWPaJjUSdkguGGNUxFW4SNdZhp0RId3DD+WgNGWMA
Fhtbm1KUcOEt8+fNr/mCb4d+23DKBo/SK8Xc7sh2WTE9KV1G3eZCHGNSk+9ZNn1r
e9vpA57ED0vmz/gKkoE+
=rFEN
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to