I’ve found the most simple way (for my case)
adb shell 'a command'
example
adb shell ls /
Thank you all for your input… but it seem my question is still not fully answered…
let me rephrase, I’m not looking to have a GUI to transfer files, but I would like to execute terminal command remotely (from my computer) to my android phone. Like SSH
.
So I’ve read that I can install a SSH
server on my android phone… (If you know some’s (FLOSS), I’m all ears)
Or if you know a better way than SSH
I’m all ears too.
Thanks.
setfacl -m m:r aFile
#re set the mask
solve the problem, but the question is: why the F**** this is happening !?
Update, this is only happening when I copy files from a ~SMB share… :'(
Otherwise it’s correct…
Proxmox seem powerfull
It’s a Type1, not Type2
https://en.wikipedia.org/wiki/Hypervisor#Classification
Thank you all !
Indeed setting execute
perm on example, sub1, sub2, static
The program/user have now access to the directory.
In order words all the parents directory need at least execute
in order to have access in the targeted directory…
Now I gave 751 for static. Meaning than others (here nginx) cannot list the files within. But never the less it works
the static files are appearing when requested (HTTP) but forbidding nginx to list the directory is changing something ? (performance/security)
Thanks
Something worth reading regarding Systemd https://www.devuan.org/os/announce/ Cheers.
Thanks all for your input !
So yes
/sdcard
was/storage/emulated/0
and it’s a real sd-card.That was indeed formatted as
FAT
, I reformatted intoEXT4
(from a desktop Linux) put the SD-card back into the phone and started the phone.Ive tried (in the phone)
su chmod 777 /storage/emulated/0 #yes it's still mounted as emulated ! stat /storage/emulated/0 #... #Access: (0771) #....
So I’m still blocked… any ideas ?
Thanks.