"Hans-Peter Jansen":
> And on the aufs /:
>
> 5465 chdir("/var/spool/postfix") = 0
> 5465 setregid32(-1, 51) = 0
> 5465 setgroups32(1, [51]) = 0
> 5465 setreuid32(-1, 51) = 0
> 5465 unlink("public/pickup") = 0
> 5465 mknod("public/pickup", S_IFIFO|0622) = 0
> 5465 open("public/pickup", O_RDWR|O_NONBLOCK|O_LARGEFILE) = 3
> 5465 fchmod(3, 0622) = -1 EPERM (Operation not permitted)
I tested similar thing on plain 2.6.27 + aufs2 + nfs rw branch, and
succeeded.
$ mkdir -p /dev/shm/u/w; mknod /dev/shm/u/w/p p; chmdo -R a+w /dev/shm/u/w;
sudo strace /tmp/a.out /dev/shm/u/w
:::
chdir("/dev/shm/u/w") = 0
setregid(4294967295, 51) = 0
setgroups(1, [51]) = 0
setreuid(4294967295, 51) = 0
unlink("p") = 0
mknod("p", S_IFIFO|0622) = 0
open("p", O_RDWR|O_NONBLOCK) = 3
fchmod(3, 0622) = 0
exit_group(0) = ?
$
$ ls -l /dev/shm/u/w/p
prw--w--w- 1 51 51 0 Feb 5 22:54 /dev/shm/u/w/p|
J. R. Okajima
------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com