Am Dienstag, 13. Dezember 2005 18:12 schrieb [EMAIL PROTECTED]: > Wilhelm Meier: > > The same problem arises also a simpler setup (on the a single machine): > > > > gs ~ # mount > > > > none on /tftproot/gentoo_B type unionfs > > (rw,dirs=/tftproot/gentoo_Bdiff=rw:/tftproot/gentoo_A=ro) > > > > On /mnt/test/A we get: > > > > gs A # touch x > > touch: setting times of `x': Operation not permitted > > What will happen if you do this? > > ls -ald /tftproot/gentoo_B /tftproot/gentoo_Bdiff /tftproot/gentoo_A > id > touch /tftproot/gentoo_B/x
The results: gs ~ # mount /dev/hda1 on / type ext3 (rw,noatime) proc on /proc type proc (rw) sysfs on /sys type sysfs (rw) udev on /dev type tmpfs (rw,nosuid) devpts on /dev/pts type devpts (rw) /dev/hdb1 on /tftproot type ext3 (rw,noatime) none on /tftproot/gentoo_B type unionfs (rw,dirs=/tftproot/gentoo_Bdiff=rw:/tftproot/gentoo_A=ro) shm on /dev/shm type tmpfs (rw,noexec,nosuid,nodev) nfsd on /proc/fs/nfs type nfsd (rw) rpc_pipefs on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw) 192.168.39.10:/tftproot/gentoo_B on /mnt/test/N type nfs (rw,addr=192.168.39.10) none on /mnt/test/T type tmpfs (rw) none on /mnt/test/A type unionfs (rw,dirs=/mnt/test/T=rw:/mnt/test/N=ro) gs ~ # cd gs ~ # ls -ald /tftproot/gentoo_B /tftproot/gentoo_Bdiff /tftproot/gentoo_A drwxr-xr-x 17 root root 4096 Dec 5 21:49 /tftproot/gentoo_A drwxr-xr-x 19 root root 4096 Dec 7 23:56 /tftproot/gentoo_B drwxr-xr-x 4 root root 4096 Dec 7 23:56 /tftproot/gentoo_Bdiff gs ~ # id uid=0(root) gid=0(root) groups=0(root),1(bin),2(daemon),3(sys),4(adm),6 (disk),10(wheel),11(floppy),20(dialout),26(tape),27(video) gs ~ # touch /tftproot/gentoo_B/x gs ~ # gs ~ # and additionaly: gs ~ # ls -ald /mnt/test/T /mnt/test/N /mnt/test/A drwxrwxrwt 19 root root 40 Dec 13 23:59 /mnt/test/A drwxr-xr-x 19 root root 4096 Dec 13 23:52 /mnt/test/N drwxrwxrwt 2 root root 40 Dec 13 23:59 /mnt/test/T gs ~ # ls -l /mnt/test/A/x ls: /mnt/test/A/x: Operation not permitted gs ~ # id uid=0(root) gid=0(root) groups=0(root),1(bin),2(daemon),3(sys),4(adm),6 (disk),10(wheel),11(floppy),20(dialout),26(tape),27(video) gs ~ # ls -l /mnt/test/T/x ls: /mnt/test/T/x: No such file or directory gs ~ # ls -l /mnt/test/N/x -rw-r--r-- 1 root root 0 Dec 13 23:52 /mnt/test/N/x gs ~ # touch /mnt/test/A/x touch: setting times of `/mnt/test/A/x': Operation not permitted gs ~ # touch /mnt/test/N/x touch: cannot touch `/mnt/test/N/x': Permission denied gs ~ # touch /mnt/test/T/x gs ~ # ls -l /mnt/test/A/x -rw-r--r-- 1 root root 0 Dec 14 00:01 /mnt/test/A/x gs ~ # touch /mnt/test/A/x gs ~ # rm /mnt/test/T/x gs ~ # ls -l /mnt/test/A/x -rw-r--r-- 0 root root 0 Dec 14 00:01 /mnt/test/A/x gs ~ # > > > Junjiro Okajima > _______________________________________________ > unionfs mailing list > [email protected] > http://www.fsl.cs.sunysb.edu/mailman/listinfo/unionfs -- Prof. Dr.-Ing. Wilhelm Meier Fachhochschule Kaiserslautern | phone: 06332-914 326 Standort Zweibrücken | 06332-914 301 FB Informatik/Mikrosystemtechnik| fax: 06332-914 305 Amerikastraße 1 | email: [EMAIL PROTECTED] 66482 Zweibrücken | [EMAIL PROTECTED] Germany | URL: http://mozart.informatik.fh-kl.de
pgpHYZECvOI9U.pgp
Description: PGP signature
_______________________________________________ unionfs mailing list [email protected] http://www.fsl.cs.sunysb.edu/mailman/listinfo/unionfs
