Results 1 to 10 of 22
hey guys,
i just formatted my maxtor hard drive and added it to my linux computer. It is in ext3 format. I mounted it by modifying my fstab. I can't ...
- 01-11-2007 #1Just Joined!
- Join Date
- Jan 2007
- Posts
- 11
fstab issue, permissions issue with mount
hey guys,
i just formatted my maxtor hard drive and added it to my linux computer. It is in ext3 format. I mounted it by modifying my fstab. I can't seem to be able to write to it. It gives a permission error. Here is my fstab part for the new maxtor drive.
/dev/hdc1 /mnt/maxtor ext3 rw,user,auto 0 0
- 01-11-2007 #2
Try this:
BryanCode:/dev/hdc1 /mnt/maxtor ext3 rw,user,auto,umask=000 0 0
Looking for a distro? Look here.
"There can be no doubt that all our knowledge begins with experience." - Immanuel Kant (Critique of Pure Reason)
Queen's University - Arts and Science 2008 (Sociology)
Registered Linux User #386147.
- 01-11-2007 #3Just Joined!
- Join Date
- Jan 2007
- Posts
- 11
hmm...now i get the following error when i try to click on the drive from my system:/media
mount: wrong fs type, bad option, bad superblock on /dev/hdc1,
missing codepage or other error
In some cases useful info is found in syslog - try
dmesg | tail or so
- 01-11-2007 #4Just Joined!
- Join Date
- Jan 2007
- Posts
- 11
When i have the following set in the fstab, it lets me write to it as root but not as a regular user.
/dev/hdc1 /mnt/maxtor ext3 rw,user,auto 0 0
any ideas what i can do?
- 01-11-2007 #5Linux User
- Join Date
- Jan 2007
- Location
- cleveland
- Posts
- 452
have you looked at the permissions of /mnt/maxtor?
who has permissions to write?
- 01-11-2007 #6
post the output of fdisk -l command.
CasperIt is amazing what you can accomplish if you do not care who gets the credit.
New Users: Read This First
- 01-11-2007 #7Just Joined!
- Join Date
- Jan 2007
- Posts
- 11
this is the output of the fdisk -l command for the drive i want to mount
Disk /dev/hdc: 122.9 GB, 122942324736 bytes
255 heads, 63 sectors/track, 14946 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/hdc1 1 14946 120053713+ 83 Linux
- 01-11-2007 #8
add this code in /etc/fstab file.
execute 'mount -a' after editing fstab file.Code:/dev/hdc1 /mnt/maxtor ext3 defaults 0 0
CasperIt is amazing what you can accomplish if you do not care who gets the credit.
New Users: Read This First
- 01-11-2007 #9Just Joined!
- Join Date
- Jan 2007
- Posts
- 11
same situation. I can read and write with root and can only read with my user and not write
- 01-11-2007 #10
okk ! add uid and gid in the mount line.
check user's id and gid though 'id' command.Code:/dev/hdc1 /mnt/maxtor ext3 defaults,uid=<user_id>,gid=<group_id> 0 0
CasperIt is amazing what you can accomplish if you do not care who gets the credit.
New Users: Read This First


Reply With Quote
