Bug#802612: fakeroot fails in user namespaces (EINVAL / Invalid argument)

2016-05-30 Thread Bjørn Forsman
Anyone there? I'd like to move forward, write a patch that hopefully can be accepted by you guys. On what code should I base my changes? I see fakeroot-1.20.2 tarball from 2014, it looks like the latest version. Is there a git repo somewhere though? (I cannot find it...) Best regards, Bjørn

Bug#802612: fakeroot fails in user namespaces (EINVAL / Invalid argument)

2015-10-23 Thread Bjørn Forsman
Reading the Linux source for fchownat, in /fs/open.c, there is little/no doubt that it returns EINVAL on invalid / non-existing UIDs: uid = make_kuid(current_user_ns(), user); gid = make_kgid(current_user_ns(), group); newattrs.ia_valid = ATTR_CTIME; if (user != (uid_t) -1) { if

Bug#802612: fakeroot fails in user namespaces (EINVAL / Invalid argument)

2015-10-21 Thread Bjørn Forsman
Package: fakeroot Version: 1.20.2-1 Severity: normal Tags: upstream Dear Maintainer, fakeroot does not work as expected inside user namespaces: $ touch test-file $ ls -ln test-file -rw-r--r-- 1 1000 100 0 okt. 21 10:12 test-file $ fakeroot -- chown 0:0 test-file