Sysop: | Amessyroom |
---|---|
Location: | Fayetteville, NC |
Users: | 43 |
Nodes: | 6 (0 / 6) |
Uptime: | 95:28:40 |
Calls: | 290 |
Files: | 904 |
Messages: | 76,417 |
While accessing my development servers on LAN:
1) Cannot edit existing HTML files, error on saving.
2) Can save as new file name HTML, but then cannot reopen that new file
and edit it.
3) No problem with any other file types, PHP, JS, CSS, etc. Just HTML.
Background my setup for years I have a few development servers running
Ubuntu on LAN. I have only 1 Windows 10 desktop left (and maybe no
Windows after next year), running Ubuntu on everything else.
1) On development servers my vhosts roots located /home/sites/...
2) Permissions & ownership: drwxrwxr-x www-data:sambashare
3) Group sambashare for Windows client access group writable and samba
share defined with:
create mask = 0664
directory mask = 0775
force group = sambashare
force user = www-data
4) Also have local user access from my profile with a bindfs /home/jonathan/www/ -> /home/sites/ which set id:gid but is accessable
from ~/www as jonathan:jonathan
Setup has worked for years. but upgraded one server to 24.04 and others
22.04 and noticed the problem. Here is what make no sense and what I
have tested:
From Windows 10 Pro (Editors do not matter vscode, notepad, notepad++):
1) Edit existing HTML on local fs: OK
2) Edit existing HTML on Ubuntu share: Nope
3) Edit existing HTML on Ubuntu share save as new HTML: OK
4) Create new HTML share and save: OK*
*can continue to edit and save as long as you do not close and reopen
5) Edit existing HTM on Ubuntu share: Nope
6) Edit existing HTML in ~/ share: Nope
7) Edit existing other files, PHP, JS, FOO: Ok
8) Rename existing HTML to non HTML extension: Ok!!!
From Ubuntu 24.04 (Editors do not matter vscode, gedit)
1) Edit existing HTML on local fs: OK
2) Edit existing HTML on Ubuntu share: Ok
3) Edit existing other files, PHP, JS, FOO: Ok
Shelling into server:
1) Edit existing HTML with nano via ~/ bind shortcut: Ok
On a whim I have an old PI2 that I tested OpenMediaVault and found same
issue editing HTML files from Windows. What the hell MS! This is new.
Any suggestions where to look? I will also MS forums, but getting useful feedback their is very rare.
Baffling for sure, however my issue is not with Nautilus nor Ubuntu it
seems. My servers are Ubuntu servers and the issue is only with a
Windows client. My Ubuntu clients I do not have the problem. Also long
ago I ditched Nautilus for Nemo. I have only one laptop that still has Nautilus.