LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices

Reply
 
Search this Thread
Old 06-24-2008, 06:33 PM   #1
Dailan
LQ Newbie
 
Registered: Jun 2008
Posts: 5

Rep: Reputation: 0
Question Editing /etc/fstab in Fedora 8


Evening all!

I have something of an embarrassing question regarding editing the filesystem table (/etc/fstab) and I would be grateful for any assistance. I've done a search of the forums and I haven't found an answer that works for me, hence this post.

I have a hard drive partition (created through custom partitioning during installation) set aside for storage and I wish to make it writable for my ordinary user account.

It's been years since I've edited /etc/fstab by hand and it seems my Unix-fu has grown weak with disuse. I cannot get it right, thus my embarrassment.

Herewith the contents of /etc/fstab:

Code:
LABEL=/1                /                       ext3    defaults        1 1
LABEL=/stuff            /stuff                  ext3    defaults        1 2
LABEL=/home1            /home                   ext3    defaults        1 2
LABEL=/boot12           /boot                   ext3    defaults        1 2
tmpfs                   /dev/shm                tmpfs   defaults        0 0
devpts                  /dev/pts                devpts  gid=5,mode=620  0 0
sysfs                   /sys                    sysfs   defaults        0 0
proc                    /proc                   proc    defaults        0 0
LABEL=SWAP-sda2         swap                    swap    defaults        0 0
LABEL=SWAP-sda21        swap                    swap    defaults        0 0
I've highlighted the relevant entry (it's the "/stuff" one). I'm sure it's got something to do with adding specific options where "defaults" currently lives, but nothing seems to work. I presume the answer is humiliatingly obvious.

Many thanks in advance,

Dailan
 
Old 06-24-2008, 06:43 PM   #2
billymayday
Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
I have my storage mounted with 0 0, but 1 2 should be OK.

What are ther permissions of /stuff (ie ls -l /stuff)?

Last edited by billymayday; 06-24-2008 at 06:44 PM.
 
Old 06-24-2008, 07:02 PM   #3
Dailan
LQ Newbie
 
Registered: Jun 2008
Posts: 5

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by billymayday View Post
I have my storage mounted with 0 0, but 1 2 should be OK.

What are ther permissions of /stuff (ie ls -l /stuff)?
Awww jeeez. How did I miss that?

You were spot on Billy. I didn't have write permission set for the mount point. A quick "chmod 777 /stuff" has everything chugging along nicely.

Thank you very much.

Dailan
 
Old 06-24-2008, 08:24 PM   #4
billymayday
Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
Sometimes it helps to have some new eyes on even the simplest problems.

Rgds
 
  


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
Editing my fstab .... please help zcapx32 Linux - Hardware 5 07-07-2006 03:03 PM
editing the fstab geckoguykc Linux - Newbie 3 05-03-2006 06:58 PM
fstab editing similar Linux - Newbie 4 03-15-2006 05:52 AM
editing the fstab nkoplm Linux - Newbie 1 06-30-2005 02:21 AM
Editing fstab jodef Yoper 4 11-27-2004 09:06 AM


All times are GMT -5. The time now is 03:31 PM.

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