LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
LinkBack Search this Thread
Old 07-24-2005, 08:45 AM   #1
jaakkop
Member
 
Registered: Aug 2004
Posts: 433

Rep: Reputation: 30
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.
 
Old 07-24-2005, 08:58 AM   #2
keefaz
Senior Member
 
Registered: Mar 2004
Distribution: Slackware
Posts: 4,282

Rep: Reputation: 66
try add umask=0222 for ntfs partitions and umask=0000 for vfat ones
 
Old 07-25-2005, 03:20 AM   #3
jaakkop
Member
 
Registered: Aug 2004
Posts: 433

Original Poster
Rep: Reputation: 30
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
 
Old 07-25-2005, 06:14 AM   #4
keefaz
Senior Member
 
Registered: Mar 2004
Distribution: Slackware
Posts: 4,282

Rep: Reputation: 66
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)
 
  


Reply


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Writing to windows partitions, Suse 9.2 badbunny Linux - Newbie 8 08-06-2005 07:36 PM
writing to windows 2000 fat32 partitions from Fedora 2 michaelweaver Linux - Newbie 5 05-24-2005 09:40 PM
Question about writing to windows partitions ludwig W Linux - Newbie 5 04-20-2005 03:25 AM
Accessing and writing to Windows partitions Delmarc Linux - Newbie 3 02-14-2004 10:39 AM
reading and writing to Linux partitions from windows Moebius Linux - General 2 01-21-2004 04:57 PM


All times are GMT -5. The time now is 05:12 AM.

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