You are not logged in.

#1 2006-12-03 16:27:34

soylent_green_is_hamster
Member
Registered: 2006-11-15
Posts: 107

Help with fstab please

Hi

I'm trying to mount a 50Gb ext3 partition to /mnt/download, but I simply can't get read/write access to users.

currently I have the following line in my fstab, which works, but doesn't give read/write access:

/dev/hda6 /mnt/download ext3 rw,user,auto 0 1

but I've tried many different combinations of options without success. Can anyone point me in the right direction please?

Offline

#2 2006-12-03 16:34:56

vacant
Member
From: downstairs
Registered: 2004-11-05
Posts: 797

Re: Help with fstab please

the "user" option means anybody can mount the file system, not that all users can write to it. The "auto" option means it gets mounted when you boot by the superuser root. Who has write access to the directory /mnt/download?

Offline

#3 2006-12-03 17:05:34

chrismortimore
Member
From: Edinburgh, UK
Registered: 2006-07-15
Posts: 655

Re: Help with fstab please

Do you have somewhere on the disc that the user has permission to write to? Say my big drive is mounted at /mnt/big/, I had to make a folder /mnt/big/users/, chown it to root:users, and chmod it to 770.  Then, anyone in the "users" group could write happily to the drive, irrespective of what fstab had as it's options.


Desktop: AMD Athlon64 3800+ Venice Core, 2GB PC3200, 2x160GB Maxtor DiamondMax 10, 2x320GB WD Caviar RE, Nvidia 6600GT 256MB
Laptop: Intel Pentium M, 512MB PC2700, 60GB IBM TravelStar, Nvidia 5200Go 64MB

Offline

#4 2006-12-03 17:11:54

lessthanjake
Member
From: Norway
Registered: 2005-11-09
Posts: 319
Website

Re: Help with fstab please

You could just chown/mod /mnt/big while it's mounted, that way it will be remembered even after a remount.

Offline

#5 2006-12-03 21:33:28

soylent_green_is_hamster
Member
Registered: 2006-11-15
Posts: 107

Re: Help with fstab please

yeah, the mount point had the correct permissions, but they got reset after boot once the drive was mounted onto it.
I did a chown and a chmod while it was mounted, and it seems to work fine now
thanks everyone!

Offline

#6 2006-12-04 13:07:28

Acid7711
Member
From: Chicago, IL
Registered: 2006-08-18
Posts: 300
Website

Re: Help with fstab please

You might try something like this. But, looks like you solved it.

/dev/hda6 /mnt/download ext3 defaults,users,umask=000

Offline

#7 2006-12-04 21:16:44

soylent_green_is_hamster
Member
Registered: 2006-11-15
Posts: 107

Re: Help with fstab please

yep - cheers anyway

Offline

Board footer

Powered by FluxBB