alimnios72
July 23rd, 2010, 05:43 AM
Hi,
I have a shared NTFS partition between my two OS Ubuntu 10.04 and windows 7. When I mount this partition using the places menu, Ubuntu gives rwxrwxrwx permission to files and drwx------ permission to folders. I tried to use chmod command to change permissions to the folders (in oder to write or delete) but it isn't working.
I read a little bit and found how to edit fstab and did the following:
/dev/sda2 /media/SHARED ntfs-3g quiet,defaults,rw 0 0
Now my partition is mounted automatically when I boot my PC but now folders and files have all permissions rwxrwxrwx and I can not change this using chmod. So my question is: is there a way to mount my partition with different permission in files and folders?
I want some folders to have all permissions, some others just root permissions, some files executables, some not, etc. how can I avoid same permissions on all folders and files?
Thanks
I have a shared NTFS partition between my two OS Ubuntu 10.04 and windows 7. When I mount this partition using the places menu, Ubuntu gives rwxrwxrwx permission to files and drwx------ permission to folders. I tried to use chmod command to change permissions to the folders (in oder to write or delete) but it isn't working.
I read a little bit and found how to edit fstab and did the following:
/dev/sda2 /media/SHARED ntfs-3g quiet,defaults,rw 0 0
Now my partition is mounted automatically when I boot my PC but now folders and files have all permissions rwxrwxrwx and I can not change this using chmod. So my question is: is there a way to mount my partition with different permission in files and folders?
I want some folders to have all permissions, some others just root permissions, some files executables, some not, etc. how can I avoid same permissions on all folders and files?
Thanks