Hi there,
Quote:
Originally Posted by skapunker
This is more of Windows problem, ...
|
partly, yes, but it's most of all a matter of cooperation between Windows and Linux.
Quote:
Originally Posted by skapunker
So I copied all the data from an hfs+ formatted backup drive to an ntfs formatted drive with linux just using I can access all the data from linux, but when I hook the drive up to a Windows computer a few of the folders won't open saying "Location is not available" and Windows doesn't give me any options to change permissions on the folder. I used to copy the data without preserving permissions to a different drive (also formatted with ntfs) because that's the drive I ultimately want to access the data from and I still get "Location is not available".
|
I'm slightly puzzled about the error message; I would've expected something like "Access denied" or "You don't have the necessary privileges to acess ...".
Trouble is, NTFS is closed-source. And its rights management is not exactly the same as what Linux uses. AFAIK, the Linux NTFS driver reads and writes an NTFS partition as "Administrator", which is the only known existing user in any Windows setup. For reading NTFS, that's fine: Pretending to be Administrator, you can read anything on an NTFS partition. For writing, that's also fine as long as you are using Linux: Pretending to be Administrator, you can write anything, anywhere on an NTFS partition. However, when you access that partition from Windows again, you are denied access to the newly created files, because (usually) you are *not* Administrator.
And since that's an issue on the level of the file system driver, it doesn't matter whether you use cp or rsync or any other tool to create the files.
Quote:
Originally Posted by skapunker
I tried using chmod to change permissions and chown to change ownership but they made no difference.
|
That's what I would expect, because the ownership and rights management is different, and Linux just circumvents the NTFS rights system.
Quote:
Originally Posted by skapunker
If I copy the files without the folder I can see them in Windows, but if I copy the folder I get "Location is not available". I'm completely stumped as to why this is happening, especially with only some of the folders. I would really appreciate help on this, thanks.
|
That, however, is funny. Looks like what I described applies to directories only, not to files. But that's a guess of mine.
Bottom line: From my point of view, the only chance is to log in to Windows as Administrator, and change ownership and access rights of the restored files/directories from within Windows.
[X] Doc CPU