Question about mv and su in 3.3.1

Martin Liversage operator at IRIS.KTH.DK
Thu Dec 13 18:42:06 AEST 1990


In <1990Dec11.190615.3551 at bullet.ecf.toronto.edu> Bob Manson
<ucsd.edu!usc!cs.utexas.edu!news-server.csri.toronto.edu!me!ecf!news-server.ecf!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                  /  \ ^     | \                      \
\                                                                             \
\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\



More information about the Comp.sys.sgi mailing list