- This topic has 16 replies, 6 voices, and was last updated Dec 18-2:53 pm by anticapitalista.
- You must be logged in to reply to this topic.
Forum for users of antiX Linux. Mean and Lean and Proudly anti-fascist.
Forum › Forums › New users › New Users and General Questions › Question: How to run executable file from a usb drive?
> Feel free to start a new thread to share your tips and tricks on using diskless system.
Thanks for the hint, Xecure! Now I can connect the dots!
> noauto,exec,users
sybok, what you mention seems exactly correct, matches the details explained in the mount manpage
users
Allow any user to mount and to unmount the filesystem, even when some other ordinary user mounted it.
This option implies the options noexec, nosuid, and nodev
(unless overridden by subsequent options, as in the option line users,exec,dev,suid).Did you follow the hint and replaced the order of the fstab items noauto,exec,users to users,noauto,exec?
It should look like this:# Added by make-fstab /dev/sdb1 label=Live-usb UUID=739e04d0-16b3-4072-8144-0ff2fab39f31 /media/Live-usb ext4 users,noauto,exec 0 0Manually modifying the parameters order in /etc/fstab to “noauto,users,exec” does solve the problem, for an already-booted Live antiX system.
So, the follow-up question would be, where did that incorrect order come from? Per the same hint, it was generated by make-fstab. So, now I believe the real root cause – or I called it the “flip switch” – is in this line: https://gitlab.com/antiX-Linux/Live-initrd-1/-/blob/master/bin/make-fstab#L37
I
will sendhave sent out a pull request in that repo, and hopefully @AntiCapitalista would notice this conversationand/or that pull request, because my earlier another pull request in that repo did not yet get much attention.Thank you all!
Fixed in repo. Note: Use this one now as it is up to date: https://gitlab.com/antiX-Linux/live-initrd.gz
Philosophers have interpreted the world in many ways; the point is to change it.
antiX with runit - leaner and meaner.
| Cookie | Duration | Description |
|---|---|---|
| cookielawinfo-checkbox-analytics | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Analytics". |
| cookielawinfo-checkbox-functional | 11 months | The cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional". |
| cookielawinfo-checkbox-necessary | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookies is used to store the user consent for the cookies in the category "Necessary". |
| cookielawinfo-checkbox-others | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Other. |
| cookielawinfo-checkbox-performance | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Performance". |
| viewed_cookie_policy | 11 months | The cookie is set by the GDPR Cookie Consent plugin and is used to store whether or not user has consented to the use of cookies. It does not store any personal data. |