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

Gustavo,

On 2/14/15 10:42 AM, gustavo.avitab...@unina.it wrote:
> Quoting Christopher Schultz <ch...@christopherschultz.net>:
> 
>> -----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
> 
> Hi Chris: On my Ubuntu 14.04  LTS box:
> 
> a@Ubuntu:~/Documents$ ls -l total 4 -rwxrwxrwx+ 1 root root 21 Feb
> 14 15:18 test a@Ubuntu:~/Documents$ cat test cat: test: Permission
> denied a@Ubuntu:~/Documents$ getfacl test # file: test # owner:
> root # group: root user::rwx user:a:--- group::rwx mask::rwx 
> other::rwx
> 
> For more information: man acl and man setfacl

I'm aware of these. I'm just saying that Alexander's message from 10
February has an "ls -l" listing that does not indicate that there are
extended file attributes.

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

iQIcBAEBCAAGBQJU4fuLAAoJEBzwKT+lPKRYPZQQAMAlWCOCuzKsRcuz4M63NHja
UXdIyIy7dnZv6lMAqOCGXPz0ePfRcvF0VR5C8aoByrkAkqkWWvaxfGZXjotj1gq7
B5GZXARd2Z+lx1ZEgQAxGW9sIeC2sb0Hj980WKNA92CCvZBE0rzMXk9wSfssr1PM
ysPKM41HTW7ImpoJI0xNaV42Pt5Gl/Rg48HKfNTEyeHGgXZnnnjh0JkcxhlppGsB
vB+mVDD4t10B5zgk/pycryGpE5aF7I5qoGk/DDuP5EfUXq9Bin8fbP7LBEA7WSAW
6Z1UPcoUb9M1AV+DaSxc9j2STJFbx8d9pMJLNHOQPOK9e7sEILyvPIayzeEUDBxZ
jJg6L7XBLUb3tMznRSQDQsXBHDU7A33UaquoIzo7I+V31/EfLTwR+mwFNnsi5BNY
LnHtAcqsubsOqmURHV6PbSzTzh9euoQzFNuMdzyk8mxIQO0tbxu6/u5TSqsS4Bf1
nMrT+4+3r37PBna062Lh6syrw5sokxrOnh1cHk4iSqCoRMk2g4XcC+r50NMIsboy
fUftol5S6E8OrgHujRx2Wx4GB9Fw2tMuNycxOd0uyJDqT0oHEoaN+WqyzYEKv4LO
kjmmwHwedhrAwVqc5plZd4Enudr5AD18Bxo+zdEdY+sKBvHUlyIYuofg1Zm8L1go
Eqg0IMxFprYtdJXZmj5p
=makf
-----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