see hidden files on Samba share
John Rickman (71) 646 posts |
When I view a shared linux directory in a RISC OS file view window it does not show the files that start with a dot. The Shared directory is on a Raspberry Pi running Raspbian and is sharing with Samba server. RISC OS is using LanMan to view the directory. |
Stuart Swales (1481) 351 posts |
You need to ensure hide dot files = no in smb.conf |
John Rickman (71) 646 posts |
Thanks for the pointer Stuart, Nov 04, 2020 by Colin Granville Admin: Tested on ArmX6 with Samba on Armbian |
David Pitt (3386) 1248 posts |
Colin’s update does work here, locally built, but it has not made it as a release yet. LanMan98 can also see hidden files, there is a line to uncomment in its !Run. |
John Rickman (71) 646 posts |
LanMan98 can also see hidden files, there is a line to uncomment in its !Run. I don’t have LanMan98 any more – not used it since moving off the Iyonix. eg to see the contents of .bash_history |
David Pitt (3386) 1248 posts |
LanMan98 2.06 is now on free issue on the PlingStore. |
John Rickman (71) 646 posts |
Thanks David |
Steve Pampling (1551) 8170 posts |
That’s true – if you read what John said he can do ls -a, the issue is that looking from the RO end the SAMBA share isn’t being read correctly by LANManFS because the version currently built doesn’t have the fix Colin did to make it respect the status of the share done by the switch in smb.conf. Two solutions:
|
David Pitt (3386) 1248 posts |
Nov 04, 2020 by Colin Granville And it still hasn’t. There seems to be difference of opinion on how the function should be called. It does work quite nicely, set the variable, |
David Pitt (3386) 1248 posts |
*help lanmanfs ==> Help on keyword LanManFS Module is: LanManFS 2.67 (19 May 2021) Commands provided: LanMan Filing system commands: LMConnect LMDisconnect LMLogon LMInfo LMNameMode LMLogoff LMServer LMPrinters Free ListFS *help LMNameMode ==> Help on keyword LMNameMode *LMNameMode sets the capitalisation of DOS short names on DOS shares and whether hidden files are shown. Syntax: *LMNameMode [-PreserveCase | -Lowercase | -FirstCaps] [-IncludeHidden | -ExcludeHidden] *LanMan:lmnamemode -I *LanMan:lmnamemode -E Change |
Alan Adams (2486) 1149 posts |
I’ve recently installed LanMan98 because I couldn’t get Omni to connect a drive using script commands. Omni: Click on Iconbar icon. Wait… Click on the drive needed. Wait… click on the iconbar icon. Wait… LanMan98. click on Iconbar icon. No wait. click on Drive, no wait. Click on iconbar icon, no wait. In addition, with Omni, the application is called Omni, the iconbar icon is labelled Net, and the drive identifies as LanmanFS LanMan98 is consistent. Oh, yes, shut dowm the remote computer while a drive is connected. Then shutdown RISC OS, and it takes around a minute to timeout the LanmanFS filer. Lanman98 shuts down cleanly immediately. |
Chris Gransden (337) 1207 posts |
Omni is just a frontend to the various network filers it supports.
Instant here. Maybe you have some old config in Choices or ’DNS ’issues. You can mount a share without having Omni running. Then do
Most RISC OS network file systems appear to freeze the machine on shutdown if the connection has disappeared. |