LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-11-2005, 04:47 PM   #1
djljjm
Member
 
Registered: Nov 2004
Distribution: Fedora 3
Posts: 77

Rep: Reputation: 15
fstab issues


I am having issues with my fstab file. This is what I want. I have an external hard drive, I want read and write access for all users, I have an internal hard drive two partitions, hdc4 is the second partition, I want read and write access to this with all users

this is my file

# This file is edited by fstab-sync - see 'man fstab-sync' for details
LABEL=/ / ext3 defaults 1 1
none /dev/pts devpts gid=5,mode=620 0 0
none /dev/shm tmpfs defaults 0 0
none /proc proc defaults 0 0
none /sys sysfs defaults 0 0
LABEL=SWAP-hdc3 swap swap defaults 0 0
/dev/hdc4 /mnt/all auto auto,user,rw 0 0
/dev/hda /media/cdrecorder auto pamconsole,exec,noauto,fscontext=system_ubject_r:removable_t,managed 0 0
/dev/sda1 /media/WD_Combo vfat auto,user,iocharset=utf8,fscontext=system_ubject_r:removable_t,managed 0 0


Another issue is that my external mounted automatically when I plugged it in and it mounted to a place that I didn't want it. I want my external to mount to /media/external. I changed this but when I rebooted it put it back to /media/WD_Combo

Then when I try to go into terminal to change permissions of WD_Combo files such as a folder "Files" I do su, password, chmod -R 777 /media/WD_Combo/Files and nothing happens, the permissions of the folder don't change. I'm getting a little frustrated. So read and write access to hdc4 and sda1....both mounting on boot. hdc4 mounting to /mnt/all and sda1 mounting to /media/external. THANK YOu


djljjm
 
Old 04-11-2005, 05:08 PM   #2
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian stable
Posts: 5,908

Rep: Reputation: 356Reputation: 356Reputation: 356Reputation: 356
In the /etc/fstab entries which list 'user' (that restricts access to the logged-in user), try changing that value to 'users', which should give access to everyone listed in the 'users' group.
If there are any users who are not listed in the 'users' group, you will have to add them to that group.
 
Old 04-11-2005, 05:18 PM   #3
trey31357
Member
 
Registered: Apr 2005
Location: Birmingham, AL
Distribution: Win XP Pro / Slackware 10.1 dual-boot
Posts: 83

Rep: Reputation: 15
I don't know if this will be of any help...but here is the line I added to my /etc/fstab file to allow me to access my windows partition when I'm logged in as myself and not root. If whatever user name is in the appropriate user group, hopefully it should work...(of course replacing hda1 with hdc4, etc. and appropriating the mount points where you would like them...)

/dev/hda1 /mnt/windows vfat uid=500,gid=500,umask=000,exec,dev,suid,rw 0 0
#changed "defaults" script to allow for write access to windows partition 4/7/05
 
  


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
fstab issues after installation Fjord Fedora - Installation 6 11-04-2005 07:21 AM
Whacky FSTAB issues?!?1 raid517 Linux - Software 2 10-05-2005 10:32 AM
/etc/fstab issues haldara Linux - Newbie 2 02-08-2005 01:53 PM
kernel 2.6.0 issues with fstab? danielw Linux - General 3 12-31-2003 04:51 PM
Mandrake 9.1 fstab Issues Celeron463 Linux - General 3 08-25-2003 10:37 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:05 AM.

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