What exactly determines file ownership?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

What exactly determines file ownership? is it when the
file is opened? modified? is there any documentation on
exactly how file ownership is determined?

thanks!

Rich
 
When the operating system is installed, administrators are the owner of all
files on the installation. After that the owner is the user that created the
file. That can be as a result of a user creating a brand new file OR
modifying an existing file. Many file modifications are treated as a write
of the new version and delete of the original version of the file. ---
Steve
 
Some addition info. There is some difference on XP and Win2k3.

if userX joined local administrators group if userX did
not join local administrators group
Win2k3 owner is Administrators userX is
the owner
XP userX is the owner userX
is the owner

General modification, such as changing content of the file, will not change
the ownership of a file, unless you specifically change the ownership.
Zunquan Wang [MSFT]
This posting is provided "AS IS" with no warranties, and confers no rights.
Use of included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm
 
It might be added, at XP and later, default behavior for the
owner on create is controlled by a group policy setting.

--
Roger
Zunquan Wang said:
Some addition info. There is some difference on XP and Win2k3.

if userX joined local administrators group if userX did
not join local administrators group
Win2k3 owner is Administrators userX is
the owner
XP userX is the owner
userX
is the owner

General modification, such as changing content of the file, will not
change
the ownership of a file, unless you specifically change the ownership.
Zunquan Wang [MSFT]
This posting is provided "AS IS" with no warranties, and confers no
rights.
Use of included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm


Steven L Umbach said:
When the operating system is installed, administrators are the owner of all
files on the installation. After that the owner is the user that created the
file. That can be as a result of a user creating a brand new file OR
modifying an existing file. Many file modifications are treated as a
write
of the new version and delete of the original version of the file. ---
Steve
 
Back
Top