Hello everybody.
recently I discovered on a text file copied per USB from my Pixel4a the execute bit was set automatically. I tried to read it by opening it from Caja but got the question if I want to execute it. By checking other files (like photos) after that I found out, that all files I transfer from the automatically "mounted" phone get there execute bit set.
I use Ubuntu MATE 22.04 LTS with the latest updates - and it looks like
Caja automatically a kind of mounts it via mtp/mtpfs (gvfs? - the device is reachable via '/run/user/1000/gvfs' as 'mtp:host=Google_Pixel_4a_17051JEC200361' too. The "mount" command doesn't show it.)
- while I use on the phone the options:
MTP and the Android device handling the connection. (Changing the option to let the connected device handling the connection is not possible.)
Is there any help where I can change this default behavior so in the future nothing gets copied in a way it lands with an execute bit set on my PC. Maybe something similar to the mount option "file_mode=0644"?
Any help is greatly appreciated!
Thanks a lot,
michaelsf