help: fail to create file in aufs

Haipeng Wu hwu at rbcon.com
Wed Jan 9 08:55:40 UTC 2013


hi,

I have met a problem in creating file in aufs, below is the method to
reproduce:
----------------------------------------------
mkdir /tmp/aufs
mkdir /tmp/aufs/temp
mkdir /tmp/aufs/mnt

sudo mkdir -p /tmp/aufs/root/abc
sudo chmod 700 /tmp/aufs/root/abc     ### here must be 700

sudo mount -t aufs -o br:/tmp/aufs/temp=rw:/tmp/aufs/root=ro+wh none
/tmp/aufs/mnt
sudo chmod 777 /tmp/aufs/mnt/abc

touch /tmp/aufs/mnt/abc/a   ### failed, permission denied, that's the
problem I met
----------------------------------------------

I have met the problem on both ubuntu 10.04 and 12.04.
Any suggestions for this issue?

thanks,
haipeng
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20130109/b8a482e7/attachment.html>


More information about the ubuntu-users mailing list