diff options
author | Justus Winter <4winter@informatik.uni-hamburg.de> | 2014-05-19 16:46:33 +0200 |
---|---|---|
committer | Justus Winter <4winter@informatik.uni-hamburg.de> | 2014-05-22 07:55:04 +0200 |
commit | 353fe33eb2481a14dc324c7c2e52b2032df86465 (patch) | |
tree | 637c01a13fcd4700dc6cf31ccbfd66accb214cf9 /trans/streamio.c | |
parent | e30e04d4f5cef2af6400847b5e102b5877372f27 (diff) |
trans/fakeroot: override fshelp_isowner
As of recently, fakeroot would fail to create symlinks:
% fakeroot-hurd ln -s foo a
ln: failed to create symbolic link ‘a’: Operation not permitted
Fix this by overriding fshelp_isowner.
Various netfs functions will call fshelp_isowner to check whether USER
is allowed to do some operation. As fakeroot is not running within
the fakeauth'ed environment, USER contains the real user.
I have no explanation why this ever worked.
* trans/fakeroot.c (fshelp_isowner): New function.
Diffstat (limited to 'trans/streamio.c')
0 files changed, 0 insertions, 0 deletions