LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices



Reply
 
Search this Thread
Old 05-30-2005, 12:29 AM   #1
darin3200
Guru
 
Registered: Dec 2002
Distribution: Gentoo!
Posts: 1,153

Rep: Reputation: 45
User write permissions on ext3 partition


Ok, I have Gentoo on one partition of an 80gig hard drive (hda1), there is another 200gig partition on a different hard drive (hdb1). I want my normal user, darinf, to be able to write to hdb1.
So far root can read and write to this partition, but darinf can only read.
Here's the /etc/fstab entry
Code:
/dev/hdb1          /hd         ext3         rw,auto,user         0 1
I didn't want to type out /mnt/hd everytime so the mount point is just /hd.
I'm stuck on this one so any help is appreciated.
Thanks,
 
Old 05-30-2005, 01:08 AM   #2
freakyg
Member
 
Registered: Apr 2005
Distribution: LFS 5.0 and 6.1
Posts: 705

Rep: Reputation: 30
Code:
/dev/hdb1   /hd   ext3   auto,owner,users,rw   0 1
try it like that..........
 
Old 05-30-2005, 01:17 AM   #3
darin3200
Guru
 
Registered: Dec 2002
Distribution: Gentoo!
Posts: 1,153

Original Poster
Rep: Reputation: 45
Thanks for the quick reply, but I'm still getting permission denied errors.
 
Old 05-30-2005, 01:29 AM   #4
freakyg
Member
 
Registered: Apr 2005
Distribution: LFS 5.0 and 6.1
Posts: 705

Rep: Reputation: 30
what are the permissions for /hd??
are they set for user and group to read,write??
 
Old 05-30-2005, 09:27 AM   #5
darin3200
Guru
 
Registered: Dec 2002
Distribution: Gentoo!
Posts: 1,153

Original Poster
Rep: Reputation: 45
Yeah, that's what I missed.
I had permissions setup as 775 no 777, and then I didn't do it recursive either, so I fixed that with
Code:
chmod -R 777 /hd
and now it works
Thanks
 
  


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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Mounting ext3 partition with rw permissions for non-root user ilyushin Linux - Newbie 5 06-27-2005 08:58 AM
knoppix mount write permissions ext3 baird LinuxQuestions.org Member Success Stories 1 12-20-2004 02:59 PM
My user account has no write permissions guitarfella Slackware 2 12-15-2004 01:08 AM
Read/Write access ext3 partition st00 *BSD 5 06-28-2004 09:46 PM
need drive write permissions with regular user vettebro1 Linux - Newbie 3 03-04-2004 10:16 PM


All times are GMT -5. The time now is 04: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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration