Non-root user has read-only access to fat-c partition
SlackwareThis Forum is for the discussion of Slackware Linux.
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.
Distribution: Slackware 14.2 soon to be Slackware 15
Posts: 699
Rep:
Non-root user has read-only access to fat-c partition
I have a fat32 partition mounted at /fat-c. My non-root users seem to have only read-only access to it, whereas root does. What am I missing - it's a fat32 partition, so you can't assign access rights to it. How do I give write access to non-root users? Slackware 11, 2.6.12.1 kernel.
None of these work. I seem to be missing something. I created a user and made them a member of every group, and that user still has no write access to it.
d=your device and partition
mp=your mount point
fs=your filesystem
options=options
That comes from "mount" e.g.
mount -t reiserfs /dev/hda6 /disc/disc6
where "reiserfs" is the filesystem, "/dev/hda6" is the partition and "/disc/disc6" is a mount point, this is, a folder anywhere inside my root folder. That "mount point" has to be created before I attempt to mount something using it.
You said you had:
/dev/sda1 /mnt/sda1 vfat auto,users,suid,dev,exec 0 0
/dev/hda1 /disc/win vfat auto,rw,umask=000 1 0
/dev/hda1 /fat-c vfat auto,user,exec,rw 0 0
The one in the middle works for me, (as a matter of fact it has worked that way since 2003) and it could work for you as well, BUT you have to have in mind that you have to redirect that to an existing mount point in YOUR system. As you said you HAD a "/fat-c" folder, I bet the fstab line for you would be:
/dev/hda1 /fat-c vfat auto,rw,umask=000 1 0
You can also use the former, (with "/disc/win" or whatever you like), by creating the folder beforehand
about umask (read that article). I use Windows mainly for gaming. (this means PristonTale) I almost never use MSIE. I don't have many programs installed - only what I still can not run with Wine-Cedega (I am also a CrossOver tester).
Since I am still completing some big downloads here, I haven't used Windows here for weeks. Using plainly umask there -could- be a security risk.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.