I have setup samba share from NAS4Free, I have defined users in NAS4Free the same as the user I have on Windows and Linux boxes. If I browse to a share where the folder, and the file inside that folder, have the permission 777 (Read, Write, Execute for Owner, Group, and Others) I can see the folder - but I do not see the file.
If I remove the execute permissions for Other, I can then see the file.
I am at a loss for why the files are visible without Other execute permission, but invisible when Other execute permission is set. Any help?
If I use root persmission in winSCP or SSH I can see the files.
I use Windows 10
I use Crunchbang
NAS4free 10.2.0.2 - Prester (revision 2067)
This is the old XigmaNAS forum in read only mode,
it will taken offline by the end of march 2021!
I like to aks Users and Admins to rewrite/take over important post from here into the new fresh main forum!
Its not possible for us to export from here and import it to the main forum!
it will taken offline by the end of march 2021!
I like to aks Users and Admins to rewrite/take over important post from here into the new fresh main forum!
Its not possible for us to export from here and import it to the main forum!
Unable to view CIFS/SMB shared files
-
iainmacleod
- Starter

- Posts: 35
- Joined: 23 Jun 2012 03:52
- Status: Offline
Unable to view CIFS/SMB shared files
NAS4Free guides:
OpenVPN http://geekfreely.blogspot.com/2014/03/ ... 4free.html
CouchPotato & Sickbeard http://geekfreely.blogspot.com/2014/03/ ... rd-on.html
MySQL DB for XBMC library sharing http://geekfreely.blogspot.com/2014/02/ ... db-on.html
More http://geekfreely.blogspot.com/search/label/nas4free
OpenVPN http://geekfreely.blogspot.com/2014/03/ ... 4free.html
CouchPotato & Sickbeard http://geekfreely.blogspot.com/2014/03/ ... rd-on.html
MySQL DB for XBMC library sharing http://geekfreely.blogspot.com/2014/02/ ... db-on.html
More http://geekfreely.blogspot.com/search/label/nas4free
-
iainmacleod
- Starter

- Posts: 35
- Joined: 23 Jun 2012 03:52
- Status: Offline
Re: Unable to view CIFS/SMB shared files
Any hints?
NAS4Free guides:
OpenVPN http://geekfreely.blogspot.com/2014/03/ ... 4free.html
CouchPotato & Sickbeard http://geekfreely.blogspot.com/2014/03/ ... rd-on.html
MySQL DB for XBMC library sharing http://geekfreely.blogspot.com/2014/02/ ... db-on.html
More http://geekfreely.blogspot.com/search/label/nas4free
OpenVPN http://geekfreely.blogspot.com/2014/03/ ... 4free.html
CouchPotato & Sickbeard http://geekfreely.blogspot.com/2014/03/ ... rd-on.html
MySQL DB for XBMC library sharing http://geekfreely.blogspot.com/2014/02/ ... db-on.html
More http://geekfreely.blogspot.com/search/label/nas4free
- daoyama
- Developer

- Posts: 394
- Joined: 25 Aug 2012 09:28
- Location: Japan
- Status: Offline
Re: Unable to view CIFS/SMB shared files
Sorry, this is my fault.
2067 (I don't remember other rev.) has "Mapping DOS attributes" is checked by default config.
This means you can not change UNIX permission by hand.
It affects NEW installation only. It was reverted on later rev.
If you want control UNIX permission, DO NOT USE "Mapping DOS attributes".
(or clean install 2118 or later without restoring your config)
2067 (I don't remember other rev.) has "Mapping DOS attributes" is checked by default config.
This means you can not change UNIX permission by hand.
It affects NEW installation only. It was reverted on later rev.
If you want control UNIX permission, DO NOT USE "Mapping DOS attributes".
(or clean install 2118 or later without restoring your config)
NAS4Free 10.2.0.2.2115 (x64-embedded), 10.2.0.2.2258 (arm), 10.2.0.2.2258(dom0)
GIGABYTE 5YASV-RH, Celeron E3400 (Dual 2.6GHz), ECC 8GB, Intel ET/CT/82566DM (on-board), ZFS mirror (2TBx2)
ASRock E350M1/USB3, 16GB, Realtek 8111E (on-board), ZFS mirror (2TBx2)
MSI MS-9666, Core i7-860(Quad 2.8GHz/HT), 32GB, Mellanox ConnectX-2 EN/Intel 82578DM (on-board), ZFS mirror (3TBx2+L2ARC/ZIL:SSD128GB)
Develop/test environment:
VirtualBox 512MB VM, ESXi 512MB-8GB VM, Raspberry Pi, Pi2, ODROID-C1
GIGABYTE 5YASV-RH, Celeron E3400 (Dual 2.6GHz), ECC 8GB, Intel ET/CT/82566DM (on-board), ZFS mirror (2TBx2)
ASRock E350M1/USB3, 16GB, Realtek 8111E (on-board), ZFS mirror (2TBx2)
MSI MS-9666, Core i7-860(Quad 2.8GHz/HT), 32GB, Mellanox ConnectX-2 EN/Intel 82578DM (on-board), ZFS mirror (3TBx2+L2ARC/ZIL:SSD128GB)
Develop/test environment:
VirtualBox 512MB VM, ESXi 512MB-8GB VM, Raspberry Pi, Pi2, ODROID-C1
-
iainmacleod
- Starter

- Posts: 35
- Joined: 23 Jun 2012 03:52
- Status: Offline
Re: Unable to view CIFS/SMB shared files
Thank you very much for the information. So I disabled mapping DOS attributes and it appears to be good now - the question is, what do I lose by disabling that feature?
What would happen if I upgrade and then re-enable this feature, would I lose seeing the info again? Was there a bug with this setting, or is that how it functions?
Thanks again.
What would happen if I upgrade and then re-enable this feature, would I lose seeing the info again? Was there a bug with this setting, or is that how it functions?
Thanks again.
NAS4Free guides:
OpenVPN http://geekfreely.blogspot.com/2014/03/ ... 4free.html
CouchPotato & Sickbeard http://geekfreely.blogspot.com/2014/03/ ... rd-on.html
MySQL DB for XBMC library sharing http://geekfreely.blogspot.com/2014/02/ ... db-on.html
More http://geekfreely.blogspot.com/search/label/nas4free
OpenVPN http://geekfreely.blogspot.com/2014/03/ ... 4free.html
CouchPotato & Sickbeard http://geekfreely.blogspot.com/2014/03/ ... rd-on.html
MySQL DB for XBMC library sharing http://geekfreely.blogspot.com/2014/02/ ... db-on.html
More http://geekfreely.blogspot.com/search/label/nas4free
- daoyama
- Developer

- Posts: 394
- Joined: 25 Aug 2012 09:28
- Location: Japan
- Status: Offline
Re: Unable to view CIFS/SMB shared files
This is a function, not a bug.iainmacleod wrote:What would happen if I upgrade and then re-enable this feature, would I lose seeing the info again? Was there a bug with this setting, or is that how it functions?
If it's enabled, UNIX permission is mapped to Windows attribute.
Code: Select all
+------- archive attribute
| +---- system attribute
| | +- hidden attribute
| | |
rwxrwxrwx
NAS4Free 10.2.0.2.2115 (x64-embedded), 10.2.0.2.2258 (arm), 10.2.0.2.2258(dom0)
GIGABYTE 5YASV-RH, Celeron E3400 (Dual 2.6GHz), ECC 8GB, Intel ET/CT/82566DM (on-board), ZFS mirror (2TBx2)
ASRock E350M1/USB3, 16GB, Realtek 8111E (on-board), ZFS mirror (2TBx2)
MSI MS-9666, Core i7-860(Quad 2.8GHz/HT), 32GB, Mellanox ConnectX-2 EN/Intel 82578DM (on-board), ZFS mirror (3TBx2+L2ARC/ZIL:SSD128GB)
Develop/test environment:
VirtualBox 512MB VM, ESXi 512MB-8GB VM, Raspberry Pi, Pi2, ODROID-C1
GIGABYTE 5YASV-RH, Celeron E3400 (Dual 2.6GHz), ECC 8GB, Intel ET/CT/82566DM (on-board), ZFS mirror (2TBx2)
ASRock E350M1/USB3, 16GB, Realtek 8111E (on-board), ZFS mirror (2TBx2)
MSI MS-9666, Core i7-860(Quad 2.8GHz/HT), 32GB, Mellanox ConnectX-2 EN/Intel 82578DM (on-board), ZFS mirror (3TBx2+L2ARC/ZIL:SSD128GB)
Develop/test environment:
VirtualBox 512MB VM, ESXi 512MB-8GB VM, Raspberry Pi, Pi2, ODROID-C1
-
iainmacleod
- Starter

- Posts: 35
- Joined: 23 Jun 2012 03:52
- Status: Offline
Re: Unable to view CIFS/SMB shared files
Brilliant. Thank you very much. I guess I need to research windows attributes.
NAS4Free guides:
OpenVPN http://geekfreely.blogspot.com/2014/03/ ... 4free.html
CouchPotato & Sickbeard http://geekfreely.blogspot.com/2014/03/ ... rd-on.html
MySQL DB for XBMC library sharing http://geekfreely.blogspot.com/2014/02/ ... db-on.html
More http://geekfreely.blogspot.com/search/label/nas4free
OpenVPN http://geekfreely.blogspot.com/2014/03/ ... 4free.html
CouchPotato & Sickbeard http://geekfreely.blogspot.com/2014/03/ ... rd-on.html
MySQL DB for XBMC library sharing http://geekfreely.blogspot.com/2014/02/ ... db-on.html
More http://geekfreely.blogspot.com/search/label/nas4free
- JoseMR
- Hardware & Software Guru

- Posts: 1058
- Joined: 16 Apr 2014 04:15
- Location: PR
- Contact:
- Status: Offline
Re: Unable to view CIFS/SMB shared files
Hello, a little bit old, but maybe this can help others users running Windows 10 clients as me and facing the OP issue, I personally don't use "Mapping DOS attributes" and I have a client mixture on my network such as Windows 7/10 WinPhone8 and Linux, so my "Max Protocol" under NAS4Free is set to SMB2 and all the clients can access the Samba shares as expected.
However I never managed to see the shares under Windows 10(fresh install) file explorer, depicting all the registry hacks/workarounds I've tried with either "Max Protocol" set to SMB2/SMB3 under NAS4Free.
The solution is quite simple, I just added the server user credentials under Credential Manager on Windows 10(even if same as client), then manually entered the server share paths e.g: \\NAS4FREE\MyShare (case sensitive) and created shortcuts/mapped the network drives in order to access the shares.
This looks more like a Windows 10 bug/issue to me.
Regards
However I never managed to see the shares under Windows 10(fresh install) file explorer, depicting all the registry hacks/workarounds I've tried with either "Max Protocol" set to SMB2/SMB3 under NAS4Free.
The solution is quite simple, I just added the server user credentials under Credential Manager on Windows 10(even if same as client), then manually entered the server share paths e.g: \\NAS4FREE\MyShare (case sensitive) and created shortcuts/mapped the network drives in order to access the shares.
This looks more like a Windows 10 bug/issue to me.
Regards
System: FreeBSD 12 RootOnZFS Mirror, MB: Supermicro X8SI6-F, Xeon X3450, 16GB DDR3 ECC RDIMMs.
XigmaNAS RootOnZFS
Addons at GitHub
BastilleBSD
Boot Environments Intro
Resources Home Page
XigmaNAS RootOnZFS
Addons at GitHub
BastilleBSD
Boot Environments Intro
Resources Home Page
- Snapshot
- Starter

- Posts: 32
- Joined: 02 Dec 2015 10:27
- Location: Wiltshire, England
- Status: Offline
Re: Unable to view CIFS/SMB shared files
There is a well-reported W10 bug affecting network access. My two W10 test PCs cannot see anything on the LAN unless I reduce their SMB level to 2. They can then see other Windows devices but still not the non-Windows. I saw a post where an MS employee had reproduced the problem but there doesn't seem to be any resolution yet.
HP Gen8 Microserver, Intel i5-3470T, 16GB RAM, 4 x 3TB WD Reds, Samsung Bar 32GB USB stick
- Snapshot
- Starter

- Posts: 32
- Joined: 02 Dec 2015 10:27
- Location: Wiltshire, England
- Status: Offline
Re: Unable to view CIFS/SMB shared files
I've just accidentally discovered that this is browse master related. My W7 PC is usually browse master as it's on 24/7 but my W10 Insider PC became browse master when I rebooted the W7 one. Instantly it could see everything on the LAN, the shares on the non-Windows servers and the folders and files within the shares! The second W10 PC could now see everything on the LAN and the shares on the non-Windows servers but nothing within the shares.
So, progress of a sort although not a complete solution.
So, progress of a sort although not a complete solution.
HP Gen8 Microserver, Intel i5-3470T, 16GB RAM, 4 x 3TB WD Reds, Samsung Bar 32GB USB stick