Submount, "permission denied" when writing to floppy as normal user
Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
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.
Thanks for the courtesy of posting your results, so few do.
I think you could combine your solution into 1 line:
Code:
# chmod -R 666 /mnt/floppy
While this doesn't do exactly what your code did, it may be what you really need -- any sub-dirs on the floppy as well the root.
However, I think the correct & permanent fix lies in your fstab; possibly in the umask, or maybe in the UID / GID. Suggest you take a look at the fstab & mount man pages. I don't do floppies or Slack enough to offer you the specific advice you really need, sorry.
Thanks for the input. Now that I think about it, I believe that that chmod command could be put into one line like you said. I tried the umask idea and for some reason "umask=0" didn't work like it should have. Oh well... :-)
Distribution: RH, SuSE, Slackware, Debian - would like to test many ;-)
Posts: 11
Rep:
Hi.
I've met about the same problem and I found a way around it: by using a LiveCD (knoppix) i read the /etc/fstab it built and tried to copy that kind of lines.
From what I found, you should use "users" instead of "user" - that way you would allow any user to umount it (not only the user that mounted it).
Also, umask=000,rw and, as a suplementary option, I saw they use exec, so it would be like
/dev/fd0 /mnt/floppy auto noauto,users,exec,rw,umask=000 0 0
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.