LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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-23-2002, 11:56 PM   #1
PenguinPelt
LQ Newbie
 
Registered: Sep 2002
Distribution: RedHat for Now. Gentoo later.
Posts: 1

Rep: Reputation: 0
How to allow write permissions to mounted partitions?


Hello,

Pretty new to LINUX. I've managed to install RedHat Linux ( yes it's not that big of a feat) but I was wondering how to allow a regular non-root user write access to my VFAT/Windows partitions that I've included in my fstab. Its annoying to have to change to root to move my downloaded files onto my VFAT partitions.

Thanks guys!!
 
Old 09-24-2002, 12:57 AM   #2
moses
Senior Member
 
Registered: Sep 2002
Location: Arizona, US, Earth
Distribution: Slackware, (Non-Linux: Solaris 7,8,9; OSX; BeOS)
Posts: 1,152

Rep: Reputation: 50
I don't know the redhat tool for this, but you need to edit your /etc/fstab
file.

Open up /etc/fstab in your favorite text editor, and change the 'doze line to
be something like:

/dev/hda1 /dos/dos1 vfat users,owner,rw,noauto 0 0

Meanings:
/dev/hda1 = hard drive partition where doze is stored
/dos/dos1 = mount point where you want the disk mounted
vfat = filesystem type
users,owner,rw,noauto = options to mount
users => allow users to mount
owner => allow device owner to mount
rw => read and write permissions
noauto => do not mount at boot (otherwise will mount as root)
0 0 => backup option (to dump, don't dump) and fsck option (don't fsck)

Once you do this, any user can do:

mount /dos/dos1
and this will mount the filesystem.

do a "man fstab"
and a "man mount"
for more help.

If you want to get deeper into administration, you could set up an
automounter. See:
http://www.tldp.org/HOWTO/mini/Automount.html
http://www.am-utils.org/
http://www.linux-consulting.com/Amd_.../autofs-5.html (a little old)

Cheers,
Moses
 
  


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
Unable to write to mounted partitions Kamikazee MEPIS 6 06-03-2005 02:59 PM
cant write on my mounted drives Niflheim Linux - Newbie 5 03-26-2005 09:51 PM
mounted but no write permissions varunk123456 Linux From Scratch 1 03-31-2004 02:55 PM
mounted but no write permission varunk123456 Red Hat 1 03-31-2004 02:54 PM
Firewire HD, Mounted but no Write tobz Linux - Hardware 5 11-01-2003 04:20 PM

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

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