Register a domain and help support LQ
Go Back > Forums > Linux Forums > Linux - Security
User Name
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.


  Search this Thread
Old 09-12-2004, 04:36 AM   #1
LQ Newbie
Registered: Sep 2004
Location: romania
Distribution: Fedora Core 2
Posts: 2

Rep: Reputation: 0
give users permissions to write

I have install fedora2, and I have the folowing partitions:
hda1 - XP(ntfs)
hda2 - shared for fedora & XP (fat32)
hda3 - fedora
and a swap partition

I've tried all solutions I know to get write permissions to hda2 as user but it didn't work. As a root it work fine. Also as a user I can't write CDs. hda2 is mounted in "/mnt" as "e". Please help.
In my fstab I have:
/dev/hda2/ /mnt/e vfat users 0 0
I can read from hda2 as user but I can't write.
Old 09-12-2004, 07:35 AM   #2
Registered: Feb 2004
Location: Sighisoara/Cluj-Napoca (Romania)
Distribution: CentOS 4, Fedora Core 6
Posts: 781

Rep: Reputation: 31

Try this in your /etc/fstab
/dev/hda2               /mnt/e            vfat    umask=000,iocharset=iso8859-1,codepage=850,users        0 0
Hope it helped!

EDIT: Hola Romania

Last edited by Boby; 09-12-2004 at 07:37 AM.
Old 09-12-2004, 07:53 AM   #3
LQ Newbie
Registered: Sep 2004
Location: romania
Distribution: Fedora Core 2
Posts: 2

Original Poster
Rep: Reputation: 0
thanks anyway!
but I resolved the problem with the following entry in fstab:

/dev/hda2 /mnt/e vfat gid=#, mode=777

In your command what does umask=000?


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

Similar Threads
Thread Thread Starter Forum Replies Last Post
how to give a nonroot user write access Kilahchris Linux - Newbie 8 05-11-2005 03:10 AM
How to give permissions for users....... manikantha Linux - General 1 03-17-2005 05:27 AM
How to give a drive write access to all users in FSTAB? (ext3) jon_k Linux - Software 2 12-19-2004 10:46 PM
Not able to give execute permissions needanyhelp? Linux - General 4 08-20-2004 06:19 AM
How to set permissions to read, execute, write for users only chupacabra Linux - General 3 12-18-2002 04:54 PM

All times are GMT -5. The time now is 07:33 AM.

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