Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am migrating some data (2TB) off of a Windows NTFS server file share to a Mac OS X file share. I need to strip all the NTFS permissions, except for the time stamps.

Any good scripts out there with example directory names\group\users you can share?

I need a way to do this from Windows or in OS X.


share|improve this question

Robocopy will do everything you are looking for.

share|improve this answer
Dammit! Why didn't i think of that. i use it all the time lol! doh! does it work on a mac though? – Mucker Jun 10 '11 at 23:24
@Mucker - Robocopy will only run on a Windows client, but the target can be an OSX network share. – daalbert Jun 10 '11 at 23:28

Correct me if I'm wrong but isn't NTFS a windows file system and Mac OS has its own file system? I am VERY limited in my Mac knowledge though. I know MACs can read NTFS drives but you are saying you are moving the data to a new share on the Mac. This means you will lose the NTFS security naturally because the Mac server won't have any NTFS drives in it...unless of course you have installed one?

As for time stamps I don't think you can change these...timestamps are timestamps and are there for a reason. usually the main timestamp people want to keep intact is "date modified". Have you even tested this with one file moving it to the Mac? I have just tested it now moving a file between two pc's on NTFS drives and the date modified wwasn't changed. "date created" and "last time accessed" were though. I cant vouch for the same happening on a Mac however as i dont have one!

If the timestamps could be modified then they could be abused.

share|improve this answer
Timestamps can be modified, using public APIs as well. – grawity Jun 10 '11 at 22:24

You don't need to worry about it. When copying across file system boundaries NTFS permissions will not be copied.

share|improve this answer

The closest thing is to change ownerships to the Administrators group (takeown /r /a somefolder) and reset the file permissions with inherited ones (icacls somefolder /reset /t /c).

However, you shouldn't have to do this, because NTFS-specific data (ownership, ACLs, auditing) will simply be lost when copying to the file system used by Mac OS X.

share|improve this answer
isn't that what i already said about the drive permissions?? And taking ownership and changing perms will update the modified date. So he should use the APi u mentioned to keep the timestamps the same – Mucker Jun 10 '11 at 23:27
@Mucker: The "Modification" timestamp only applies to file data, not to metadata. It is not updated when modifying ACLs or attributes. – grawity Jun 11 '11 at 7:04
thanks man. I didn't know that ;-) – Mucker Jun 11 '11 at 9:53

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .