-----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.

This happens to me occasionally on Mac OS which has its own fun set of
"extended" file attributes. I sometimes have files for which I have
write privileges, and dir-write privs, but I still can't delete them.
Why? Oh, because they have "extended attributes", "flags", *and* ACLs.
Fun stuff.

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

iQIcBAEBCAAGBQJU3ipsAAoJEBzwKT+lPKRYyegQAMin4Iz8yXNPASkQGOupezeu
vnkRUXENAmF/Fi+1oSQC7JtkRhVl6sxOgCopxAjXDlYDyQ+oNb87HcIEXianVlMJ
+t6v9h0+FEaB+sNEqzG0kM3T+vuQoMN+Rc56+SkS2DV+HHJPC06Dwqtk6rjdoIFO
bSeARnHR84+jcNMV9gYw/VdFicwAGkNiJw85BsQHwiCueRSpv7DW9LwD1xN5gQxn
Wfg1xZlIan4d/5ZvNWOVVORn0bzWMNAHp37LaTo2tHv2nM8r6IrH2utJ9u1o7chT
HPO2m5TFSqIf9/LRSUqJycRBL4enwz+gw4hQglKMwTEOF8ev7VIRz0A900UJbz1d
dE1prNyHPpcjDsAoAbmaf5M0zVd/OjT2g3EZrrmJcSPzyfHKPOQGbjtWdx6E6i+I
20j0tntMjroy9PuavAJ7yQ50DlXImeL72fBBoKv11oAP0d4rkHmnTuPgmAeYkKI3
1dRcD3nWm6oaVHNwPwTs8xdMrApFgJXOOynM/ciNTOsyRv++V+m5vUm07AmUGZ7D
SPAJBkGozMg930GUoponzI7WGRqn1JLIj9U48FUUbIhQucxNwyVG9byS1ndk9D5c
Ft7m90YzwZ2kuEIOmJpfg8JJJlC0xp69kKNqkkud75S+iwceqQ2a8JpGuituwknO
WIkeJBzwyakgWJMt51ej
=7so9
-----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