USB permissions question

সাজেদুর রহিম জোয়ারদার toshazed at gmail.com
Sat May 18 14:27:43 UTC 2019


Hi Richard
Peace be upon you.

শনি, ১৮ মে, ২০১৯ তারিখে ৮:০৯ PM টায় এ Richard Kimber <
richardkimber at politicsresources.net> লিখেছেন:

> If I create a script on a USB stick plugged into my system
>

What is this script? Is it a Shell script or else?


> 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.
>

If your USB drive is formatted with a FAT filesystem then changing file
permission will not work. To do this you need to refortmat the USB drive
with Ext4 filesystem but this may make your drive unreadable in Non-Unix
like systems (Ex. Win7).

You may try to run your script simply with this like --
1. if bash script
bash /path_to_script/scriptname

2. if python
python /path_to_script/scriptname

3. if php
php /path_to_script/scriptname

with regards
-- 
রিং/ring

স্বেচ্ছাসেবক/Volunteer
এফওএসএস বাংলাদেশ/FOSS Bangladesh
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20190518/fd766637/attachment.html>


More information about the ubuntu-users mailing list