Return to BSD News archive
Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!news.cs.su.oz.au!metro!metro!munnari.OZ.AU!news.ecn.uoknor.edu!news.wildstar.net!newsfeed.direct.ca!news.maxwell.syr.edu!news.mathworks.com!howland.erols.net!rill.news.pipex.net!pipex!tank.news.pipex.net!pipex!news.utell.co.uk!usenet From: brian@shift.lan.awfulhak.org (Brian Somers) Newsgroups: comp.unix.bsd.freebsd.misc Subject: Re: mv filename: set owner/group: Operation not permitted Date: 24 Mar 1997 17:46:20 GMT Organization: Awfulhak Ltd. Lines: 31 Message-ID: <5h6elc$1mk@ui-gate.utell.co.uk> References: <Pine.SUN.3.95.970323163337.10686A-100000@typhoon.typhoon.co.jp> Reply-To: brian@awfulhak.demon.co.uk, brian@utell.co.uk NNTP-Posting-Host: shift.utell.net Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Newsreader: knews 0.9.8 Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:37700 In article <Pine.SUN.3.95.970323163337.10686A-100000@typhoon.typhoon.co.jp>, N Fung <nfung@typhoon.co.jp> writes: > Hi! > > I'm running 2.1.7 RELEASE#0 on a P166 machine. > > Whenever I 'mv' a file from one file system to another, I get this > error/warning message: > > mv: /target/filesystem/filename: set owner/group: Operation not permitted > > The file is moved successfully though. mv'ing files within the same file > system doesn't producing any such message. > > The mv man page mentioned that "As the rename(2) call does not work > across file systemf, mv uses cp(1) and rm(1) to accomplish the move... > > Is there anything I can do to avoid the said error/warning message? > Thanks for any pointers. > > Regards, > N. Fung > That's because the mv(1) command can't chown(2) the file to someone else. There's no warning if you mv your own files. -- Brian <brian@awfulhak.demon.co.uk> <brian@freebsd.org> <http://www.awfulhak.demon.co.uk> Don't _EVER_ lose your sense of humour !