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.
Any file I move to or create on a floppy or other removable medium is made executable, which is very irritating if only because the icon changes. I am sure I can put something in /etc/fstab to fix this but I am not sure what. Here is my fstab - can anyone advise please?
Originally posted by JohnKFT Any file I move to or create on a floppy or other removable medium is made executable, which is very irritating if only because the icon changes. I am sure I can put something in /etc/fstab to fix this but I am not sure what. Here is my fstab - can anyone advise please?
Fat / Vfat file systems do *not* have executable permission on individual files. Therefore, when linux mounts the file system, either all file are 'executable', or *no* files are executable. If you prefer no executables, (a good idea for security,) add the noexec option.
Re: Re: Files being made executable on Floppies etc
Quote:
Originally posted by Rashkae Fat / Vfat file systems do *not* have executable permission on individual files. Therefore, when linux mounts the file system, either all file are 'executable', or *no* files are executable. If you prefer no executables, (a good idea for security,) add the noexec option.
dev/fd0 /mnt/FD auto noauto,user,rw,noexec 0 0
Hey Rashkae, that's really useful!
Thanks for sharing that info, I learned something new today.
Thanks also from me. Not only do I now know how to fix the problem but I also understand why the problem occurs. You have opened up a whole new understanding of the interaction between these file systems. Thanks also to the chap who invented the internet - a very few years ago it would have taken me longer to walk up the road for a stamp than your helpful reply has taken, and even then I would not have known who to post the question to. Don't we live in exciting times?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.