Zyxel NAS542 - copied files from old NAS are inaccessible (open from NAS share)
Options
All Replies
-
tried one more option:
chown-nobody -hR USER:everyone * from main share/ folder
have no more idea's on my own0 -
How about the smb.conf settings from that specific share?
0 -
I have posted it 3 posts earlier (old smb, new smb for SHARE) and 2 posts earlier (old smb, new smb for GLOBAL)How about the smb.conf settings from that specific share?
</code>zyxel /etc/samba/smb.conf</pre><div></div><pre class="CodeBlock"><code><div>[share]</div><div> path = /i-data/12344321/share</div><div> follow symlinks = yes</div><div> strict allocate = yes</div><div> allocation roundup size = 0</div><div> aio write size = 4096</div><div> comment = "share"</div><div> browseable = yes</div><div> valid users = "admin" "pc-guest" "xxx1" "XXX" "+everyone" "+XXX"</div><div> guest ok = yes</div>
0 -
Ah sorry, missed that post. Well, after looking at the files, the most probable difference I can find is oplocks. That's a Windows way to lock files, to prevent multiple edit sessions at a time. I can imagine some editors just refuse to work if they can't get exclusive accessIn old file we have
<div>[global]</div><div><br></div><div>oplocks = yes</div>
in new file it's<div>[global]</div><div><br></div><div><div>kernel oplocks = no</div><div><br></div>level2 oplocks = no</div>
(I'm very happy that smb.conf always have simple, not confusing options)So try to edit the latter to 'yes', and restart samba.<div>/etc/init.d/samba.sh restart<br></div>
1 -
Thx for help, looks like everything is fine now... hope it will stay that way not sure if chown-nobody was the solution or changing oplocks0
-
You will know after the first reboot. The edit in smb.conf won't survive a reboot, nor will it survive any change in samba configuration using the webinterface.Basically smb.conf is generated dynamically by the NAS' backend.0
-
New problem - old files are accessible, but files created later (totally new files) are inacessible... this is starting to be quite annoying
0 -
What's the difference in ownership/permission for an old and a new file?
0 -
MijzelfWhat's the difference in ownership/permission for an old and a new file?if you are refering to
ls -alh
it is the same as before...0 -
Maybe the file is (still) locked? smbstatus can tell.
0
Categories
- All Categories
- 395 Beta Program
- 2.1K Nebula
- 117 Nebula Ideas
- 81 Nebula Status and Incidents
- 5.1K Security
- 82 USG FLEX H Series
- 247 Security Ideas
- 1.3K Switch
- 69 Switch Ideas
- 914 WirelessLAN
- 34 WLAN Ideas
- 5.9K Consumer Product
- 211 Service & License
- 337 News and Release
- 71 Security Advisories
- 21 Education Center
- 5 [Campaign] Zyxel Network Detective
- 2K FAQ
- 912 Nebula FAQ
- 415 Security FAQ
- 237 Switch FAQ
- 207 WirelessLAN FAQ
- 46 Consumer Product FAQ
- 139 Service & License FAQ
- 34 Documents
- 34 Nebula Monthly Express
- 72 About Community
- 62 Security Highlight