• Re: Cannot edit HTML files from Windows 10 workstation

    From Paul@21:1/5 to Jonathan N. Little on Thu Nov 28 23:35:15 2024
    On Thu, 11/28/2024 1:36 PM, Jonathan N. Little wrote:
    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.


    Hello :-)

    [Picture]

    https://i.postimg.cc/7ZBwhFnL/Ubuntu2404-nautilus-stacked-error-dialogs.jpg

    Notice the error dialog. Well, that is a stack of error dialogs on top of
    one another, that appeared like a machine gun, on my desktop. Enough dialogs
    to exhaust some resource. I could not open ScreenShot to take a picture, so
    I had to use my camera. I already got caught once within the last week, doing
    a screenshot and having the OS lose it due to a mess like this. That's why this time I was ready with the camera.

    The Nautilus window behind it, has no date or file size. Presumably something happened while it was trying to reach the Windows Server to refresh that information.

    *******

    There has been something wrong in Ubuntu for a while. That did not happen this week.

    The same problem is not present in Linux Mint, not that I've noticed.

    And when Nautilus is broken in Ubuntu, you can go to the Package Manager
    and install Nemo, and just as Nemo runs on Linux Mint, it works properly
    when installed on Ubuntu.

    *******

    This shows attempts to try to list what is going on, client to server.

    [Picture]

    https://i.postimg.cc/pVggG2q8/W10-to-W11-vs-others.gif

    The W10 to W11 (server) connection works properly and has an SMB V3.1.1 connection. It uses an IPV6 address. Which is a neat trick when my router
    is IPV4 only and has DHCP-V4. Those could be link-local addresses being
    used. The machine could have used an IPV4 address if it wanted.

    *******

    The rest of the pictures, I won't include, because they need to be redone.

    What's interesting in this one (doesn't rely too much on test conditions),
    is Nautilus cannot display file properties, yet the Bash shell has all
    the information on display.

    [Picture]

    https://i.postimg.cc/7Y1wSGwb/nautilus-unknown-perms-bash-OK.gif

    All a bit baffling.

    Paul

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Paul@21:1/5 to Jonathan N. Little on Fri Nov 29 17:20:20 2024
    On Fri, 11/29/2024 10:14 AM, Jonathan N. Little wrote:



    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.

    Well, something has changed at the system level. Because the
    command that dumps information on the server side, never seems
    to register any of my Linux connections properly.

    To start to see patterns in this stuff, you need to run a larger
    matrix of test cases, and who has that much equipment, all
    arranged to do that ? I'm not running a "SAMBA test shop" here,
    it's just an ordinary looking room :-)

    Paul

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)