isvein Posted September 16, 2023 Share Posted September 16, 2023 Hello I have some linux executable files (SeaChestUtilities) that I want to put on the usb so I can use them without starting the array, but where on the usb should something like this go? Quote Link to comment
itimpi Posted September 16, 2023 Share Posted September 16, 2023 Just now, isvein said: Hello I have some linux executable files (SeaChestUtilities) that I want to put on the usb so I can use them without starting the array, but where on the usb should something like this go? It is really up to you! Files on the flash drive cannot have the executable bit set, so to use them you would need to add lines to the config/go file on the flash drive to copy them somewhere else during boot (probably something like /usr/local/sbin) and set the executable bit. 1 Quote Link to comment
Solution isvein Posted September 16, 2023 Author Solution Share Posted September 16, 2023 23 minutes ago, itimpi said: It is really up to you! Files on the flash drive cannot have the executable bit set, so to use them you would need to add lines to the config/go file on the flash drive to copy them somewhere else during boot (probably something like /usr/local/sbin) and set the executable bit. aha! Would that be as simple as adding 2 lines that says "cp *location on usb/file1 /usr/local/sbin" "chmod +x "/usr/local/sbin/*filename*" for each file? Quote Link to comment
itimpi Posted September 16, 2023 Share Posted September 16, 2023 3 minutes ago, isvein said: aha! Would that be as simple as adding 2 lines that says "cp *location on usb/file1 /usr/local/sbin" "chmod +x "/usr/local/sbin/*filename*" for each file? Yes. You could probably simplify it even further by putting them into a folder on the flash drive and copy the contents of that using wildcards. 1 Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.