Re: Need help with fstab config

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Andrew Konosky wrote:
> I have 2 windows partitions I would like to mount. C is my Windows 98 
> OS, so I want it read-only. D is kind of a swap drive to keep files that 
> both OS's can see, such as music and games compatible in wine. I would 
> like D to be RW so that users, not just root, can write to it. I googled 
> to find howtos and added the fstab entries, but they are not mounting 
> like I want them too.
> 
> /dev/hda1        /mnt/C            vfat    auto,user,noexec,ro    0 0
> /dev/hda5        /mnt/D            vfat    auto,user,rw    0 0
> 
> 
> With 'user' in there, I should be able to mount and unmount them as a 
> user, but it keeps saying only root can do it. Also, D is mounted as RW, 
> but only root has RW and user have RO.

Do you want them to be automatically mounted on boot?

Try users, not user.

On /mnt/D, try adding dmask=0,fmask=111, to get reasonable file
permissions. Or do what I do: create a group (I call it data), put all
the users that are allowed to write to the partition in it, and add
gid=501, where 501 is the group ID of your group.

HTH,

James.

-- 
E-mail address: james@ | "Does exactly what it says on the tin." ...
westexe.demon.co.uk    | I've got a tin at home: it says "Open other end".
                       | It never is.
                       | -- Humphrey Lyttelton, "I'm Sorry, I Haven't A Clue"



[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux