Markus Weich:
> > Great, you found what we want.
> > It must be Yama LSM and
> > /proc/sys/kernel/yama/protected_nonaccess_hardlinks.
> > Write 0 into /proc/.../protected_nonaccess_hardlinks and your rm will
> > succeed.
> Thanks! That solves my problem!

Glad to hear that.
You have another option if you want to keep the value of
/proc/.../protected_nonaccess_hardlinks as 1.
Try "mount -o remount,mod:/your/writable/branch=rw+nolwh /your/aufs"
The branch attribute "nolwh" means "no link for whiteout" and it always
create a whiteout as a size-zeroed regular file instead of hardlink.


J. R. Okajima

------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk

Reply via email to