Svante Signell, le Thu 08 Oct 2015 17:17:16 +0200, a écrit :
> cp test dir
> cp: unwritable ‘dir/test’ (mode 0444, r--r--r--); try anyway? y
> cp: cannot create regular file ‘dir/test’: Permission denied
>
> fakeroot-tcp cp test dir
> cp: cannot create regular file ‘dir/test’: Permission denied
>
Hi,
When looking for the EACCES problems with gpsd I found the following:
This small test reveals a bug in hurd (libdiskfs/dir-lookup.c,
trans/fakeroot.c, ...?):
touch test
chmod -w test
mkdir dir
ls -ld dir
drwxr-xr-x 2 srs srs 4096 Oct 8 17:06 dir
cp test dir/
ls -l dir
-r--r--r-- 1 srs srs