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*.) -- Mark H. Wood Lead Technology Analyst University Library Indiana University - Purdue University Indianapolis 755 W. Michigan Street Indianapolis, IN 46202 317-274-0749 www.ulib.iupui.edu
signature.asc
Description: Digital signature