On Sat, Mar 21, 2020 at 8:39 AM William Kenworthy <bi...@iinet.net.au> wrote:
>
> I have an encrypted usb thumb drive I use to transfer files from work
> (Win10) to home (gentoo) - the encryption and access is via a program
> that is stored and executed from the thumb drive.
>
> Some time back, it became impossible to execute files stored on the
> thumb drive.  I found I could get it to work if it was mounted within
> the users home directory.  Since the last round of updates that has
> become broken as well.

I'm aware of 2 things that would break this:

- The filesystem is mounted with the noexec flag set.
- For filesystems that don't have permissions natively (like FAT), the
filesystem is mounted with a umask that prevents the execute bit from
being set.

You could check both of these things in /proc/mounts when the
filesystem is mounted.

How to fix it depends on what is actually mounting the filesystem in
the first place. How do you access the drive after you plug it in?

Reply via email to