[OpenAFS-devel] Strange permission denied..

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


On Fri, Apr 26, 2013 at 07:01:06AM +0000, u-openafsdev-7rrs@aetey.se wrote:
> > 30913 open("/usr/share/perl5/Git/SVN/Memoize/YAML.pm.dpkg-new", O_WRONLY) = -1 EACCES (Permission denied)

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

I assume that YAML.pm.dpkg-new was existing, otherwise the open()
lacked O_CREAT and it should have failed with ENOENT.

Rune