On Fri, Feb 10, 2006 at 05:37:13PM +0900, [EMAIL PROTECTED] wrote: > > There are some problems around permission bits of a dir. > For example, unionfs cannot remove the un-writable dir while unix/posix > can. And if a dir doen't have exec bit (rare case), unionfs cannot > handle it correctly. > This patch will solve those problems. > > Junjiro Okajima > > > unionfs /dev/shm/u unionfs > rw,dirs=/dev/shm/rw=rw:/dev/shm/ro=ro,debug=0,delete=all,copyup=preserve 0 0 > $ cd /dev/shm/u > $ mkdir a > $ sudo mkdir a/b > $ ls -al a > total 3 > drwxr-xr-x 3 jro jro 1024 Feb 10 17:02 . > drwxrwxrwx 22 jro jro 1024 Feb 10 17:02 .. > drwxr-xr-x 2 root root 1024 Feb 10 17:02 b > $ id > uid=1000(jro) gid=1000(jro) groups=1000(jro) > $ rmdir a/b > rmdir: `a/b': Directory not empty
The d_revalidate patch from earlier makes the rmdir succeed (which as far as I know is the correct behavior.) Jeff. _______________________________________________ unionfs mailing list [email protected] http://www.fsl.cs.sunysb.edu/mailman/listinfo/unionfs
