Results 1 to 3 of 3
Distro is Ubuntu. When i do
sudo chmod 777 /media/partition_name
I get a message "Cannot chmod. This partition is read-only."
How do I change this so I could write on ...
- 12-21-2005 #1
NTFS partition doesn't accept chmod 777
Distro is Ubuntu. When i do
sudo chmod 777 /media/partition_name
I get a message "Cannot chmod. This partition is read-only."
How do I change this so I could write on it too? Which console command to use?
- 12-21-2005 #2Linux Engineer
- Join Date
- Apr 2005
- Location
- Buenos Aires, Argentina
- Posts
- 908
You can chmod a NTFS/FAT32 filesystem, they just don't accept UNIX-like permissions.
Hmm..I'm not aware if NTFS read-write is still safe.. I'd suggest you to look at Google or Google for Linux and look for some tutorial/guide.serzsite.com.ar
"All the drugs in this world won\'t save you from yourself"
- 12-21-2005 #3
what you are after is the option in the mount command to set the permissions. This is the umask=nnnn option. The nnnn are numbers that are the same as the usual file permisions (ie. the chmod command) , but the opposite of them.
So, to mount a filesystem that lives on a device called /dev/hda1 onto a pre-prepared mount point (folder) called /mnt/windoze , and give everybody read/write/execute (what in the chmod command would be a 777) I would do (as root user) :-
mount /dev/hda1 /mnt/windoze -o umask=0000
Of course, to make this a permenant thing, I'd have to modify my /etc/fstab file as well.
have fun
Nerderello
Use Suse 10.1 and occasionally play with Kubuntu
Also have Windows 98SE and BeOS


Reply With Quote
