Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I have an NTFS partition so I can share with a dual-booted Windows installation. chmod doesn't do anything, nor issue a warning to indicate this.

I want other (Ubuntu) users to have RW permissions on certain files.

brian@brian-t1:/media/Storage/Documents/Scratch Projects$ ls -l    
-rw------- 1 brian brian      5 2012-01-11 02:18 testfile
brian@brian-t1:/media/Storage/Documents/Scratch Projects$ chmod go+rw testfile
brian@brian-t1:/media/Storage/Documents/Scratch Projects$ ls -l
-rw------- 1 brian brian      5 2012-01-11 02:18 testfile

What is wrong here?

share|improve this question

1 Answer 1

Disclaimer - I would use a Linux native file system as NTFS is likely to get complicated and may not work.

If you must use ntfs, mount the ntfs partition with the option permissions.

Edit /etc/fstab

# Graphical 
gksu gedit /etc/fstab

# Command line
sudo -e /etc/fstab

Add an entry

/dev/sda2  /media/ntfs ntfs-3g  permissions 0 0

chown and chmod will now work.

However ...

  1. My understanding is Microsoft made some changes to ntfs and some people report they can not read files written to a NTFS drive from Ubuntu.

  2. You may well need to map users. See http://b.andre.pagesperso-orange.fr/permissions.html

share|improve this answer
    
thanks for the reply. I was tearing my hair out on this one until I found out about the lack of support on NTFS. I had followed the suggestions of a user who had shown how to have win & Ubuntu live side by side & they had the storage shared drive as NTFS. I live and learn. –  brianp Jan 13 '12 at 12:18

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.