USB permissions question
Tom H
tomh0665 at gmail.com
Wed May 22 15:50:38 UTC 2019
On Sat, May 18, 2019 at 4:09 PM Richard Kimber
<richardkimber at politicsresources.net> wrote:
>
> If I create a script on a USB stick plugged into my system it's
> permissions are:
> -rw-r--r--
> If I try to make it executable with chmod u+x nothing happens, so I
> can't run it.
>
> How can I get scripts and programs to run from a USB stick? Is there a
> handy guide somewhere?
>
> I tried the advice on
> https://askubuntu.com/questions/17540/how-do-i-set-executable-permissions-on-a-removable-drive
> but "sudo /etc/init.d/udev restart" did not complete and return the
> command prompt, so I'm not clear where to go from here.
Since 16.04, the correct command (assuming that restarting udev's OK;
the sysvrc script used to have a warning about that) is "systemctl
restart udev". "/etc/init.d/udev restart" restarts udev outside of
systemd.
More information about the ubuntu-users
mailing list