LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Writing permission for windows and linux partitions (https://www.linuxquestions.org/questions/slackware-14/writing-permission-for-windows-and-linux-partitions-346212/)

jaakkop 07-24-2005 08:45 AM

Writing permission for windows and linux partitions
 
I have two vfat, two ntfs and one ext3 partitions. What should I put to fstab so that I could read and write those partitions with my own user. Actually I don't need to write anything in NTFS so just a read permission would be okay to have.

keefaz 07-24-2005 08:58 AM

try add umask=0222 for ntfs partitions and umask=0000 for vfat ones

jaakkop 07-25-2005 03:20 AM

Quote:

Originally posted by keefaz
try add umask=0222 for ntfs partitions and umask=0000 for vfat ones
So should it be just the umask=0000 / umask=0222, or should there be something else too, like:
Code:

vfat      users,umask=0000
ntfs      ro,users,umask=0222


keefaz 07-25-2005 06:14 AM

You don't need ro for ntfs, the umask operates on permissions as this :

ntfs umask=0222:
0777 - 0222 = 0555 = -r-xr-xr-x (read + execute)

vfat umask=0000
0777 - 0000 = 0777 = rwxrwxrwx (read + write + execute)


All times are GMT -5. The time now is 05:23 PM.