On Sat, Oct 4, 2008 at 9:22 PM, George Hartzell <[EMAIL PROTECTED]> wrote: > Redd Vinylene writes: > > On Sat, Oct 4, 2008 at 9:02 PM, George Hartzell <[EMAIL PROTECTED]> wrote: > > > > > > 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. > > > > > > > Yes: > > > > -r-sr-xr-x 6 root wheel schg 18468 Aug 2 19:47 > /usr/jail/box/usr/bin/chpass > > > > So I'd simply have to "chflags noschg /usr/jail/box/usr/bin/chpass" > > and then "cp /usr/jail/box/usr/bin/chpass > > /home/jail/box/usr/bin/chpass"? > > I think that you ought to be able to cp it as is. You're just not > allowed to change the original (e.g. remove it), which is why your mv > and rm failed. > > g. >
I've been told that changing flags might seriously mess things up. Is there any way to copy the remaining files from /usr/jail into /home/jail, or do I have to rebuild everything from scratch? Much obliged. -- http://www.home.no/reddvinylene _______________________________________________ [email protected] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-jail To unsubscribe, send any mail to "[EMAIL PROTECTED]"
