Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!tut.cis.ohio-state.edu!ucbvax!IRIS.KTH.DK!operator From: operator@IRIS.KTH.DK (Martin Liversage) Newsgroups: comp.sys.sgi Subject: Re: Question about mv and su in 3.3.1 Message-ID: <9012130742.AA11246@iris.kth.dk> Date: 13 Dec 90 07:42:06 GMT References: <1990Dec11.190615.3551@bullet.ecf.toronto.edu> Sender: daemon@ucbvax.BERKELEY.EDU Organization: The Internet Lines: 23 In <1990Dec11.190615.3551@bullet.ecf.toronto.edu> Bob Manson writes: > If I use su to become root while in my home directory, and I mv a file > to /tmp, for example, who should own the file? Me, or root? Under > 3.2 I think that root would have been the owner(I don't remember, > could someone still running 3.2 please check?). Anyway, under 3.3.1, I > retain ownership of the file. I run 3.2 and I have checked. You are right in your assumptions. When root does a mv on a file, she becomes the owner. \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\ \ \ \ Martin Liversage 8616 m /\ \ \ Royal Dental College Copenhagen / \_ K2 - Mountain of Fate \ \ Department of Pediatric Dentistry / \ \ and Dreams \ \ Norre Alle 20 / | | \ \ \ DK-2200 Kobenhavn N /\ | \ \ \ \ +45 31 37 17 00 - 4276 / \ ^ | \ \ \ \ \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\