LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices

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

Rep: Reputation: 0
give users permissions to write


Sal,
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.
Thanks!
 
Old 09-12-2004, 06:35 AM   #2
Boby
Member
 
Registered: Feb 2004
Location: Sighisoara/Cluj-Napoca (Romania)
Distribution: CentOS 4, Fedora Core 6
Posts: 781

Rep: Reputation: 31
Hello!

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

EDIT: Hola Romania

Last edited by Boby; 09-12-2004 at 06:37 AM.
 
Old 09-12-2004, 06:53 AM   #3
dragosp
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?
thanks
 
  


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


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


All times are GMT -5. The time now is 09:27 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