LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 10-09-2005, 06:12 PM   #1
pEeDy
LQ Newbie
 
Registered: Aug 2005
Posts: 8

Rep: Reputation: 0
[SuSE fstab] No write access


Hey,
I mounted my hard drives and I can access them, but I can't write or delete.. I keep on getting 'access denied on /media/blablabla'.
Here's my fstab:
Code:
/dev/hda2            /                    reiserfs   acl,user_xattr        1 1
/dev/hda1            swap                 swap       pri=42                0 0
devpts               /dev/pts             devpts     mode=0620,gid=5       0 0
proc                 /proc                proc       defaults              0 0
usbfs                /proc/bus/usb        usbfs      noauto                0 0
sysfs                /sys                 sysfs      noauto                0 0
/dev/hdc1            /media/200gb         vfat       defaults              0 0
/dev/hdh1            /media/30gb          ext3       defaults        0 0
I tried adding ',rw' and 'umask=0222' but that didn't help either

Oh and hdc1 will be ext3 soon too, so don't worry
 
Old 10-09-2005, 06:17 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975
who are you trying to write to it as? fir ext3 normal permissions apply, so only root would be able to.
 
Old 10-09-2005, 06:21 PM   #3
pEeDy
LQ Newbie
 
Registered: Aug 2005
Posts: 8

Original Poster
Rep: Reputation: 0
As user 'hertogjan'. Can't I put into the fstab or where ever that this user is also allowed to write/delete on hdh1? And what about hdc1? I know I could write to a FAT disk once without being root...
 
Old 10-09-2005, 06:39 PM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975
well like i said... that's just the filsystem doing it's thing. if you wish to change them, use chmod and chown etc...

as for the vfat, that*is* where the umask=000 comes in. mind you, you said you tried 0222, that'll be r-xr-xr-x - you're *explicilty* denying writes with that one!
 
Old 10-09-2005, 06:47 PM   #5
pEeDy
LQ Newbie
 
Registered: Aug 2005
Posts: 8

Original Poster
Rep: Reputation: 0
umask=000 doesn't work either...
And how do I chown a whole directory (mounted drive) ?
 
Old 10-10-2005, 10:32 AM   #6
pEeDy
LQ Newbie
 
Registered: Aug 2005
Posts: 8

Original Poster
Rep: Reputation: 0
Anyone?
 
Old 10-10-2005, 03:04 PM   #7
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975
you don't. your overall filesystem is deliberately designed to be abstracted from the physical devices. you don't need to care that that is on a certain device. just use chown as normal to change the attrributes of whatever you want.
 
Old 10-11-2005, 02:58 AM   #8
pEeDy
LQ Newbie
 
Registered: Aug 2005
Posts: 8

Original Poster
Rep: Reputation: 0
But how do I do that?
 
  


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
grip : no write access to write encoded file bidouilleur Linux - Software 5 10-09-2010 09:23 PM
How to give a drive write access to all users in FSTAB? (ext3) jon_k Linux - Software 2 12-19-2004 09:46 PM
What should I write in my /etc/fstab chutsu Slackware 3 09-27-2004 08:01 AM
fstab DOS write noir911 *BSD 5 08-06-2004 11:23 AM
Misspelling in fstab, can't write to file system kristjan Linux - Newbie 4 01-08-2004 06:40 PM

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

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