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 02-17-2004, 07:41 PM   #1
drivesector
LQ Newbie
 
Registered: Feb 2004
Posts: 25

Rep: Reputation: 15
mounting hdb not working


Hello, I can't spell so please be nice. I am trying to mount for read write, hdb1 and sdb1 drives. I followed the instructions in previous posts about drive mounting and the answers did not work so i am going to rewrite the problem here. I have a hdb1 and a sdb1 drive. I can mount them just fine for read as a user. Can read and write as root. I need to be able to read and write as a user. I updated fstab file as in previous posts like this
LABEL=/ / ext3 defaults 1 1
LABEL=/boot /boot ext3 defaults 1 2
none /dev/pts devpts gid=5,mode=620 0 0
none /proc proc defaults 0 0
none /dev/shm tmpfs defaults 0 0
/dev/hda3 swap swap defaults 0 0
/dev/fd0 /mnt/floppy auto noauto,owner,kudzu 0 0
/dev/cdrom /mnt/cdrom udf,iso9660 noauto,owner,kudzu,ro 0 0
/dev/cdrom1 /mnt/cdrom1 udf,iso9660 noauto,owner,kudzu,ro 0 0
/dev/hdb1 /mnt/hdb1 vfat auto,users,rw 0 0
/dev/sda1 /mnt/sda1 vfat auto,users,rw 0 0

hdb1 and sda1 from what the posts before said should mount automatically (and they do) But i still can not write to them as a normal user. Root can write to them fine, I also can't change the permissions. I have been messing with this for over a week not so i figured i would ask for help. (Another side question) Why when i try to change drive permissions does it say last time they were changed was (Wednesday, December 31 1969 at 7:00:00 PM) Any help with the main question would be appreciated. I also tried to change permissions for user, but that did not work, The drive was formatted on a win 98 system, so i dont think it is a ntfs. but if that was the problem why could i wright to it in root?
Thank you for your time
Drivesector
 
Old 02-17-2004, 09:18 PM   #2
BernieG
LQ Newbie
 
Registered: Feb 2004
Location: Sydney, Australia
Posts: 2

Rep: Reputation: 0
Hi dude, I'm by no stretch of the imaginiation a Linux expert but your problem sounded kind of familiar. In other flavours of Unix I've come across a similar problem which is caused by the following:

The mount point you're mounting to doesn't have the correct permissions.
Even though you've changed the directory permissions after you've mounted your filesystem the underlying mount point could possibly still have incorrect settings.

If you've let the OS mount your filesystems for you (probably set in /etc/fstab) just "umount /mnt/hdb1" and check that /mnt/hdb1 has the right settings.

Hope it helps!

Cheers,
BernieG

Last edited by BernieG; 03-02-2004 at 12:30 AM.
 
Old 02-18-2004, 01:13 AM   #3
levian
LQ Newbie
 
Registered: Aug 2003
Location: kadin, jkt
Distribution: Dolphin,Shrike,98
Posts: 20

Rep: Reputation: 0
Hi,
you can try to use the umask option.
 
Old 02-18-2004, 06:43 PM   #4
drivesector
LQ Newbie
 
Registered: Feb 2004
Posts: 25

Original Poster
Rep: Reputation: 15
Thank you guys, Actually you were both right, the permissions were not set right, And i had umask=000 spelt unmask=000
Thanks again
Drivesector
 
  


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
suse pro91 on hdb with grub not working shshjun Linux - General 1 11-21-2004 05:20 AM
Mounting hdb Slack10 Diademed Linux - Hardware 2 07-31-2004 01:05 AM
mounting problems "hdb : driver not present" joshuarpf Linux - Newbie 2 07-08-2004 05:28 AM
Mounting hd hdb* konastan Linux - Hardware 1 03-29-2003 01:59 PM
Mounting The CD-Rom...Still not working juagut Linux - Newbie 2 04-15-2001 11:30 PM

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

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