On Mon, Oct 15, 2012 at 8:01 PM,  <sf...@users.sourceforge.net> wrote:
>
> It is possible if you "mount --move /mnt0 /mnt/mnt0" before switch_root.
>
>
>> But I got the solution:
>> Change mode of my "changes" directory from 700 to 755.
>
> Does it mean that the root dir of your mnt2 was 700?
> If so, you cannot access everything.
>
>
> J. R. Okajima

drwxrwxrwx 24 root root  428 10月 15 14:24 /mnt/0/      <- bottom, squashfs
drwxr-xr-x  9 root root  200 10月 15 20:11 /mnt/1/      <- top, tmpfs
drwx------  4 root root 4096 10月 10 12:54 /mnt/2/      <- middle

But I still don't fully understand, if the top branch has a dir with
the same name
as that of a dir in an underlying branch, why the permission of the
dir in the top
branch does not override the permission of the same dir in the underlying
branch?

Or in this case, why does the / dir (0755) in the tmpfs does not override
the / dir (0700) in the changes branch?

Guan

------------------------------------------------------------------------------
Don't let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly
what is happening inside your Ruby, Python, PHP, Java, and .NET app
Try New Relic at no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev

Reply via email to