Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
fstab problem
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
Uncle_Psychosis
Guru
Guru


Joined: 31 Jan 2004
Posts: 387

PostPosted: Tue Apr 05, 2011 5:28 pm    Post subject: fstab problem Reply with quote

Hi guys

I want to be able to mount a drive and write to it, but for some reason fstab is defeating me.

This is the line in question:

Code:
/dev/sdc1               /mnt/seagateroot        ext3    noatime,noauto,users,rw 0 0


but the following happens when I mount it

Code:
$mount /mnt/seagateroot/                    (no problems)
$ mkdir /mnt/seagateroot/test
mkdir: cannot create directory `/mnt/seagateroot/test': Permission denied


Any ideas? I'm really confused---I thought the rw option would let me write to it??
Back to top
View user's profile Send private message
rh1
Guru
Guru


Joined: 10 Apr 2010
Posts: 501

PostPosted: Tue Apr 05, 2011 5:41 pm    Post subject: Reply with quote

rw allows read-write but user still needs permission to do so. I believe having "users" in option just gives permission to mount. Mount and then chmod to correct permissions or alternately i think you can specify mode in options. Example: "mode=0777"
Back to top
View user's profile Send private message
madchaz
l33t
l33t


Joined: 01 Jul 2003
Posts: 993
Location: Quebec, Canada

PostPosted: Tue Apr 05, 2011 6:42 pm    Post subject: Reply with quote

do this in the folder

ls -la

read the permisions. That's 99% certain your problem.
_________________
Someone asked me once if I suffered from mental illness. I told him I enjoyed every second of it.
www.madchaz.com A small candle of a website. As my lab specs on it.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum