[OpenAFS-devel] Strange permission denied..

u-openafsdev-7rrs@aetey.se u-openafsdev-7rrs@aetey.se
Fri, 26 Apr 2013 07:01:06 +0000


Hello,

On Thu, Apr 25, 2013 at 09:56:26PM -0500, hozer wrote:
> I'm running with AFS system:administrator credentials, so I have
> no idea why this is failing. The line from strace is:
> 
> 30913 open("/usr/share/perl5/Git/SVN/Memoize/YAML.pm.dpkg-new", O_WRONLY) = -1 EACCES (Permission denied)

> /usr/share/perl5/Git/SVN/Memoize$ ls -l
> total 2
> -r--r--r-- 1 root root 1748 Nov 24 00:28 YAML.pm

AFAIK, due to a "conveniency per-file-protection hack" the user access
modebits are checked on the client so your credentials do not matter. The
file seems to be write-protected and the failure looks natural.

Cheers,
Rune