You are not logged in.
Any ideas why this particular fstab line leads to root user only read/write for any disk referenced in my fstab?
Example:
UUID=496E-7B5E /media/STORAGE vfat defaults 0 0
I have tried all variations of what "defaults" should be (rw,suid,dev,exec)
I had even added uid=0777, and no matter what options I add there, doing
sudo mount -a
or with the line in fstab commented out and
mount -t vfat -U 496E-7B5E /media/STORAGE -o defaults
causes the same issue.
Results in every filesystem there to be mounted as read only for me as a user, and I can only write to them as root.
Weird
I have run
sudo chmod -v -R a+rwx /media/STORAGE
and similarly
sudo chmod -v -R 0777 /media/STORAGE
Both were tried on the directory as mounted and unmounted. When mounted, the verbose output DOES NOT error out and shows property change of the files
Oddly, if no fstab reference is used, the disk shows up in the dolphin panel, and can be mounted in that manner and it is read write as a usual user.
Using a Chakra-live installed with Unetbootin, so perhaps that is the issue... so
How is mounting through dolphin handled and what might I use at the command line to accomplish this same routine, as I only need one partition to mount read write when the system starts, so maybe I can add the command to rc.local
Last edited by bwh1969 (2009-01-18 23:04:59)
Offline
If you think the problem is in the can you put the whole fstab here it would be easier to see what is wrong. Are you sure your part of the storage group? Also specify your own flags don't use the defaults . Make sure you have both "users" and "user" in the flags and also have the "auto" flag. user allows and user to mount it but for some reason or another it may not work. the users flag lets people who are part of the group users. Im currently in a pretty similar situation so sorry if I was not if much help.
I'm just lost n00b!
Offline
# fstab generated by gen_fstab
#<file system> <dir> <type> <options> <dump> <pass>
none /dev/pts devpts defaults 0 0
none /dev/shm tmpfs defaults 0 0
UUID=496E-7B5E /media/STORAGE vfat defaults,user,users,rw,exec,uid=777,gid=777 0 0
/dev/sr0 /mnt/sr0_cd auto user,noauto,exec,unhide 0 0
# This would do for a floppy
#/dev/fd0 /mnt/floppy vfat,ext2 rw,user,noauto 0 0
# + mkdir /mnt/floppy
# E.g. for USB storage:
#/dev/sdb1 /mnt/usb auto rw,user,noauto 0 0
# + mkdir /mnt/usb
Offline
As you can read in `man mount` uid= isn't supported by all filesystems. An easy work-around might be specifying (user) as a flag, and then mount as a user; that should work.
Offline
.....
UUID=496E-7B5E /media/STORAGE vfat defaults,user,users,rw,exec,uid=777,gid=777 0 0
....
That is not correct, looks like you are confused about what uid/gid and umask/dmask/fmask does.
You should read the mount man page again.
Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest
Offline
It was a frustrated brain fart and your reply made me go back to the manual page (again) so thanks:
This does not work:
UUID=496E-7B5E /media/STORAGE vfat defaults 0 0
or
UUID=496E-7B5E /media/STORAGE vfat rw,user,noauto 0 0
however, this does:
UUID=496E-7B5E /media/STORAGE vfat rw,user,users,auto,exec,uid=500,gid=500 0 0
It has been a while since I visited the mount page, as usually "defaults" works.
Last edited by bwh1969 (2009-01-19 22:36:48)
Offline