Problems moving my jails (mv: Operation not permitted)
George Hartzell
hartzell at alerce.com
Sat Oct 4 19:27:15 UTC 2008
Redd Vinylene writes:
> On Sat, Oct 4, 2008 at 8:53 PM, Redd Vinylene <reddvinylene at gmail.com> wrote:
> > On Sat, Oct 4, 2008 at 8:40 PM, Redd Vinylene <reddvinylene at gmail.com> wrote:
> >> On Sat, Oct 4, 2008 at 8:38 PM, Rodrigo Gonzalez <rjgonzale at 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.
More information about the freebsd-questions
mailing list