"Igor Karasynskyi": > I'm use aufs as root filesystem in which I chrooted during boot and > after this system run from there, my last branch is RW (index = 0) and > all other is RO, on previous branch (index = 1) exist file /tmp/test > (/tmp permissions is 777), owner of this file is common user, when I > delete this file and try to execute shell command touch /tmp/test from > user the command failed with this error: > touch setting times of '/tmp/test': No such file or directory
So your situation is, / = /rw + /ro $ ls /rw/tmp - no 'test' file $ ls /ro/tmp - 'test' file exists, 0777, normal user/group $ rm /tmp/test - succeeds - whiteout for 'test' is created. $ touch /tmp/test - unexpected error, No such file or directory Will you check these things? - after rm, check the whiteout by 'ls -l /rw/tmp/.wh.test' - check the dir permission by 'ls -ld / /rw /ro /rw/tmp /ro/tmp' - find the systemcall which returned the error by 'strace touch /tmp/test' If there is another user on your system and the branch filesystems (/rw and /ro in above example) are not hidden, someone else might change them directly (bypassing aufs). In this case, you should use 'udba=inotify' aufs mount option. Otherwise, aufs may behave differently as you expect. Junjiro Okajima ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/