LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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
Posts: 781

Rep: Reputation: Disabled
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



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 11:28 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration