Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 4 Oct 2008 12:02:49 -0700
From:      George Hartzell <hartzell@alerce.com>
To:        "Redd Vinylene" <reddvinylene@gmail.com>
Cc:        jail@freebsd.org, questions@freebsd.org
Subject:   Re: Problems moving my jails (mv: Operation not permitted)
Message-ID:  <18663.48601.45230.57747@almost.alerce.com>
In-Reply-To: <f1019d520810041156o53cb86c3ua74da1a76cf7c11a@mail.gmail.com>
References:  <f1019d520810041135s509ef5f4tdf9be77b4a3d8df3@mail.gmail.com> <48E7B80F.8040602@gmail.com> <f1019d520810041140t6d6cdb42w94d9696448db406f@mail.gmail.com> <f1019d520810041153p3f7d1058lcea5defdf4f44613@mail.gmail.com> <f1019d520810041156o53cb86c3ua74da1a76cf7c11a@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Redd Vinylene writes:
 > On Sat, Oct 4, 2008 at 8:53 PM, Redd Vinylene <reddvinylene@gmail.com> wrote:
 > > On Sat, Oct 4, 2008 at 8:40 PM, Redd Vinylene <reddvinylene@gmail.com> wrote:
 > >> On Sat, Oct 4, 2008 at 8:38 PM, Rodrigo Gonzalez <rjgonzale@gmail.com> wrote:
 > >>>
 > >>> Are the jails stopped?
 > >>>
 > >>>
 > >>
 > >> Yes, they are. Sorry, I should have mentioned this.
 > >>
 > >> --
 > >> http://www.home.no/reddvinylene
 > >>
 > >
 > > Should I just do like this?
 > >
 > > cp /usr/jail/box/usr/bin/chpass /home/jail/box/usr/bin/chpass
 > > cp /usr/jail/box/usr/bin/chfn /home/jail/box/usr/bin/chfn
 > > cp /usr/jail/box/usr/bin/chsh /home/jail/box/usr/bin/chsh
 > > [...]
 > > rm -rf /usr/jail
 > >
 > > --
 > > http://www.home.no/reddvinylene
 > >
 > 
 > My bad, that's not permitted either.

If you do an ls -lo /home/jail/box/usr/bin/chpass, you'll probably see
the schg flag set.  Man chflags for more info and instructions on how
to unset it

g.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?18663.48601.45230.57747>