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.
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
Thanks for the courtesy of posting your results, so few do.
I think you could combine your solution into 1 line:
# 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 ;-)
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