File permission inheritance on a move vs. a copy

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

Guest

I have tried to move files that inheret rights form it's parent folder to another folder with a different set of rights. The files are set to inheret permission form it's parent, but once they are moved into the new folder, they retain the permissions of the old location. When I copy them, they do inheret the permission of the new folder. Is there a way to move files from one location to another and assume the permissions of the new location without having to copy them?
 
Not unless there is a 3rd party tool. That is the way NTFS
works. When files are moved to a location on the same NTFS
volume, they retain their original permissions and do not
inherit the permissions of the new location. When moved to
a different NTFS volume they will inherit the permissions
of the directory moved into and will loose their original
permissions.

It is probably a good idea to do a copy anyways, just in
case something happened during the move?

-----Original Message-----
I have tried to move files that inheret rights form it's
parent folder to another folder with a different set of
rights. The files are set to inheret permission form it's
parent, but once they are moved into the new folder, they
retain the permissions of the old location. When I copy
them, they do inheret the permission of the new folder.
Is there a way to move files from one location to another
and assume the permissions of the new location without
having to copy them?
 
Gary said:
I have tried to move files that inheret rights form it's parent folder to
another folder >with a different set of rights. The files are set to
inheret permission form it's parent, >but once they are moved into the new
folder, they retain the permissions of the old >location. When I copy them,
they do inheret the permission of the new folder. Is >there a way to move
files from one location to another and assume the >permissions of the new
location without having to copy them?

Thats by design since copying objects actually creates new objects. Moving
an object only modifies it's pointer.

What you could do is ask your question in alt.msdos.batch.nt and one of the
gurus there might create a small token-based batch for you (xcopy / check /
delete original).

Beware, those guys do VooDoo.
 
Back
Top