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 into EXT4
(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.
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
I wanted to have a default server
that catch ~wrong DNS query to the server
I don’t know how to link to my previous lemmy post, so here it is again
server {
listen 443 ssl;
server_name _;
ssl_certificate /etc/nginx/ssl/catchall.crt;
ssl_certificate_key /etc/nginx/ssl/catchall.key;
error_page 404 /404_CatchAll.html;
# Everything is a 404
location / {
return 404;
}
location /404_CatchAll.html {root /var/www/html/;}
}
The full working code:
server {
listen 443 ssl;
server_name _;
ssl_certificate /etc/nginx/ssl/catchall.crt;
ssl_certificate_key /etc/nginx/ssl/catchall.key;
error_page 404 /404_CatchAll.html;
# Everything is a 404
location / {
return 404;
}
location /404_CatchAll.html {root /var/www/html/;}
}
ok I’ve found something that ~works !
server {
listen 443 ssl;
server_name _;
ssl_certificate /etc/nginx/ssl/catchall.crt;
ssl_certificate_key /etc/nginx/ssl/catchall.key;
error_page 404 /404.html; #at /var/www/html/
location /404.html {internal;}
return 404;
}
so i get the default 404 html from nginx. but not the one that I specified error_page 404 /404.html;
any ideas ?
line 5 you mean ?
error_page 404 /404.html; #this one ?
Something worth reading regarding Systemd https://www.devuan.org/os/announce/ Cheers.
Thank you all for your quick reactions !!
To summarize if I want to use the PDF built-in signing I will need to convert my OpenPGP into a X.509 cert otherwise I can simply use the OpenPGP file signing
I want to stick to the UNIX Philosophy especially:
Write programs that do one thing and do it well.
So I will use the OpenPGP signing tool :)
Thanks !
Thanks all for your input.
My only workaround was to check programmatically all those input
and set them with a setCustomValidity()
Too bad there isn’t a method to relaunch the validity across all the page :/
Cheers
Thank @[email protected]
it’s look like that that code only verify the form when submitting… I need to check the validity when the element has been loaded.
btw checkValidity()
do not solve this issue as it return True
when the length is longer than maxlength
! O_o I guess this is were is lying the “bug”
For me this is a huge flaw ! I don’t understand how we (dev) are we still developing on “standard” that are so f*ck-up…
It will not be digest to send all what I use for you to see it (it will lead to TL;DR)
but here an elements (loaded with XHR that give the problem
<input id="something" name="something" type="text" placeholder="aPlaceholder" minlength="3" maxlength="32" value="this value is more than the limiation of 32 char" autofocus required>
So normally this element should be invalid and a CSS selector of :invalid
should match. but it’s not the case because the browser seem to not run the validation check on loaded elements… !?
if we edit manually the input , for example removing one character then the validation process kick-in and the CSS selector work etc…
Has I found nothing, I’ve write a piece of code in Python 🐍 ! and compile it for Windows…
Thank you @[email protected] Seem great, I’ll keep it for later :)
But not for what I need now, as
Mutt is a small but very powerful text-based mail client for Unix operating systems
and it’s a “full” client, I need just the SMTP functionality.
yes, it’s been years that I’m using CMD
and as I’m planning get rid of windows there is no point for me to learn it.
I don’t see python on your image :)