Zyxel NAS542 - copied files from old NAS are inaccessible (open from NAS share)
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
- 415 Beta Program
- 2.4K Nebula
- 144 Nebula Ideas
- 94 Nebula Status and Incidents
- 5.6K Security
- 238 USG FLEX H Series
- 267 Security Ideas
- 1.4K Switch
- 71 Switch Ideas
- 1.1K Wireless
- 40 Wireless Ideas
- 6.3K Consumer Product
- 247 Service & License
- 384 News and Release
- 83 Security Advisories
- 29 Education Center
- 10 [Campaign] Zyxel Network Detective
- 3.2K FAQ
- 34 Documents
- 34 Nebula Monthly Express
- 83 About Community
- 71 Security Highlight