home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   alt.os.linux.ubuntu      I preferred Xubuntu, seemed a bit faster      134,474 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 134,076 of 134,474   
   Paul to Jonathan N. Little   
   Re: Cannot edit HTML files from Windows    
   28 Nov 24 23:35:15   
   
   From: nospam@needed.invalid   
      
   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-DOS v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca