Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hi all
Ive added a storage hard drive to my Redhat Linux.
My problem is I can only write to this hard drive as root,
I want to be able to use this drive as temp stuff and mp3s
I believe the settings I need to change are in /etc/fstab, my entry for this drive is;
/dev/hdf1 /mnt/hdf1 vfat defaults 2 1
Is it the 'defaults' bit I need to change?
yeah, have a read of the mount man page, it will tell you what options are available for vfat.
you will replace "defaults" with something like "async,rw,auto,users,gid=share,umask=027" but dont just use that without having a bit of a read up on it first
BTW on options see man mount and fstab for additional help
user - only the user that mounts the filesytem can unmount
users - any user can unmount the filesystem.
Thanks for everyones help.
Ive got what Edward78 suggested;
users,umask=0
Files copy across (and delete) to this drive now as user but once copied I get;
Could not change permissions for
/mnt/hdf1/filename
It seems something is still not quite right
Ive tried;
user,users,umask=0
users,umask=0
user,umask=0
users,rw,umask=0
Is more tweaking needed or is this due to the fact that FAT32 support is still alpha ?
Tried umask=000 with the same results ;(
The permissions are odd imho
The storage hard drive has read permissions for user,group,others
and write permissions for user, ownership; user.
yet any files on that drive have all the permissions ticked
but are greyed out and ownership is root?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.