Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 10-01-2008, 02:21 PM   #1
Registered: Oct 2003
Location: Chicago
Distribution: Ubuntu 10.04 Lucid Lynx
Posts: 43

Rep: Reputation: 15
chmod/chown does not work on windows partition - cannot open files in windows

I have a dual boot with XP and Fedora 9.
I downloaded some files with azureus onto my windows NTFS drive and everything works well on this (linux) end - I obviously can write to it and I can read and write as any user.
In windows, I was able to open the folder once. When I tried opening a file, it said I did not have permission to access the file. After that, I tried to look at the access privileges in windows, and now I cant even open the folder. I thought maybe it somehow had root-only access in linux, so I went to see - everything looked fine, but just in case I tried
[anix@Anix]$ su -c 'chmod 775 ./witcher'
(witcher is the folder.)
It worked, but I still couldn't access the files in windows. So I tried
[anix@Anix]$ su -c 'chown -R anix ./witcher'
It looked like it took, but when i looked at the privileges it was the still owned by root, just like every other object in the folder.
Since, I have tried actually logging in as root and changing it graphically. When I try to change ownership it flashes from root to anix but then immediately goes back to root. That also happens for group.
Any ideas?
Old 10-01-2008, 02:40 PM   #2
Senior Member
Registered: Dec 2005
Location: London, ON, Canada
Distribution: Arch, Ubuntu, Slackware, OpenBSD, FreeBSD
Posts: 1,853

Rep: Reputation: 65
I don't know the details about the ntfs-3g driver and Linux-to-Windows permissions conversions, and I am fairly certain Windows and Linux have two, drastically different ways of handling permissions.

In Windows, try modifying the files from an administrator account (right-click, Properties) and checking the permissions there, instead of messing around with them in Linux.

If you have trouble reading the files as a normal user, it is a problem with the options passed to "mount" when the drive is mounted, NOT a problem with the individual file permissions.

In your /etc/fstab file, locate your Windows drive, and set the following in the options section:
So, it might look something like this:
Device Node  Mount Point     Filesystem  Options             Dump  Check
/dev/hdxN    /media/windows  ntfs-3g     defaults,umask=022  0     0
This will allow any non-root users read-only permission.


azureus, chmod, chown, permission, windows

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Using open office from Linux on Windows partition files munichtexan Linux - Software 1 12-07-2005 12:27 PM
How do I change my windows partition permissions. chmod won't work. brandonloserkid Slackware 2 12-03-2004 06:39 PM
can i chmod/chown vfat partition demmylls Linux - General 6 01-17-2004 11:07 PM
Cannot chmod files in windows partition naveen Linux - Newbie 2 07-17-2003 02:35 PM
Open files from Windows XP partition Bole Linux - General 3 04-26-2003 01:06 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:59 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration