Can NTFS files be modified in Linux (Ubuntu 7.04)?

Solaris, RedHat, FreeBSD and the like
Post Reply
Message
Author
ulrich.von.lich
Junior Member
Junior Member
Posts: 488
Joined: Mon Oct 31, 2005 4:18 am

Can NTFS files be modified in Linux (Ubuntu 7.04)?

#1 Post by ulrich.von.lich » Thu Feb 07, 2008 9:43 pm

I need to recover some files that can no longer be accessed in Windows. In Linux, I can see and access these files but I need to copy them to somewhere else since the folder cannot be accessed in Windows, can someone please tell me how to do that?

Actually I haven't yet figured out what was wrong. Here's the story: I had to restore my T43's hard drive to the original factory state. And before that, I had copied some folders from the ThinkPad HDD to an external HDD in order to keep them. Then I found out these folders on the external HDD were no longer accessible after the recovery. When I click on them, it says "the folder is not accessible, access is denied".. I'm logged in as administrator and cacls.exe doesn't help in this case. I've tried cacls "folder name" /c /g "username":f but it still says "access was denied". There's nothing more I can do in Windows. (Is anyone familar with SubInACL?)

In Linux, however, I can access them without any problem. Those files seem to be intact. So is there a way I can recover them? I'm not a linux guy but I always have a linux live CD in case something goes wrong in Windows.

Any clue would be appreciated!!!

tarvoke
Junior Member
Junior Member
Posts: 273
Joined: Sun Mar 25, 2007 12:45 pm
Location: Slightly Outside America

#2 Post by tarvoke » Thu Feb 07, 2008 9:50 pm

yes, modified safely and easily...

what you want is the ntfs-3g driver (rather than the traditional built-in ntfs driver)

e.g. my fstab has this entry

Code: Select all

/dev/sda1 /media/sda1     ntfs-3g    defaults,noatime,umask=007,gid=46 0       1
you may have to apt-get install ntfs-3g first, I forget if it is installed by default. but even if you are booting a livecd, you'll be able to do that install if necessary, thanks to unionfs etc.

non-fstab example:

Code: Select all

$ ntfs-3g /dev/sda1 /mnt/win -o force,locale=en_EN.UTF-8
go away.

aaa
ThinkPadder
ThinkPadder
Posts: 1062
Joined: Fri Jun 08, 2007 2:36 pm

#3 Post by aaa » Thu Feb 07, 2008 9:52 pm

ntfs-3g is how NTFS is written in Linux. It is in Ubuntu Gutsy, the install disk doubles as a live cd.

Anyways, the way I deal with this in Windows is "take ownership". It's buried somewhere in the Security tab (you'll find the Ownership tab if you dig deep enough).

ulrich.von.lich
Junior Member
Junior Member
Posts: 488
Joined: Mon Oct 31, 2005 4:18 am

#4 Post by ulrich.von.lich » Thu Feb 07, 2008 10:05 pm

Thanks for the fast replies!!! I'll download the ntfs- 3g driver.

However, I'm still wondering what program has encrypted those folders. I have CSS7 installed and the security chip activated. But I think they only provide me a more secured login method.

I remember seeing the "take ownership" method on Microsoft's support site but when I right click the folder, then properties, I don't see any security tab. There are only 3 tabs "General", "Sharing" and "Customize". Am I missing something?

aaa
ThinkPadder
ThinkPadder
Posts: 1062
Joined: Fri Jun 08, 2007 2:36 pm

#5 Post by aaa » Thu Feb 07, 2008 10:20 pm

That's just the way it is on Windows. For some reason when the user of the file is different it results in Access Denied, even if you're Administrator.

I guessing there is a checkmark in Folder Options, that says "Advanced File Sharing" or something. It controls whether the Security tab shows up.

ulrich.von.lich
Junior Member
Junior Member
Posts: 488
Joined: Mon Oct 31, 2005 4:18 am

#6 Post by ulrich.von.lich » Thu Feb 07, 2008 10:49 pm

Thanks again aaa!! Problem solved :wink:

Post Reply
  • Similar Topics
    Replies
    Views
    Last post

Return to “Linux Questions”

Who is online

Users browsing this forum: No registered users and 0 guests