spooter
-
Total Posts
:
17
- Scores: 0
-
Reward points
:
0
- Joined: 11/14/2007
-
Status: offline
|
Get-Acl
Monday, December 17, 2007 2:49 AM
( permalink)
Hi again all, I have been using a script which uses the get-acl cmblet to find the file owner, however I have run into a problem now that i haev tried using the script on the server instead of on my PC. I am finding that when users copy their documents to the shared folder the ownership seems to change from them the system administrators and even if they change the ownership back to them the script still only finds the owner as BUILTIN\Administrators. Is there anyway around this? Regards
|
|
|
|
SAPIENScripter
-
Total Posts
:
283
- Scores: 2
-
Reward points
:
0
- Joined: 11/1/2006
- Location: SAPIEN Technologies
-
Status: offline
|
RE: Get-Acl
Tuesday, December 18, 2007 2:56 AM
( permalink)
Just to verify, the users are not members of the local administrators group on the server are they? Instead of copying, which shouldn't make a difference, if they CREATE a new file to the network share from their desktop is the owner any different? Are the users local administrators on their desktops? I wonder if the server is detecting the BuiltIn\Administrator SID and re-using it. Can you try this from a desktop where the user is not a local admin?
|
|
|
|
SAPIENScripter
-
Total Posts
:
283
- Scores: 2
-
Reward points
:
0
- Joined: 11/1/2006
- Location: SAPIEN Technologies
-
Status: offline
|
RE: Get-Acl
Tuesday, December 18, 2007 8:32 AM
( permalink)
This problem has been nagging me all day. I'm sure it is some basic NTFS fact that I've forgotten. It might make a difference how the file is copied to the server. I found http://support.microsoft.com/kb/240268 which reminded me that xcopy has a /O switch to copy file and owner attributes. This leads me to believe that other ways of copying files do not preserve that information.
|
|
|
|