Exporting a share as read-only in NFS => read-only in Samba

Discussion about using NAS on Linux and Unix OS.

Exporting a share as read-only in NFS => read-only in Samba

Postby doktornotor » Tue May 08, 2012 11:29 pm

OMG. Uh. No comment.

Dear QNAP, kindly fix ASAP. :x
QNAP, why is your homework still not done?
3.8.2 Build0301 - Codename "Titanic" - Dear customer, GTFO! NOT acceptable once again!
QTS 4.0 - Codename "Leaky Snail" - Slower than ever. Yes, we can!
QNAP's new logo competition
User avatar
doktornotor
Experience counts
 
Posts: 2599
Joined: Tue Apr 24, 2012 5:44 am
NAS Model: Not Selected

Re: Exporting a share as read-only in NFS => read-only in Sa

Postby doktornotor » Wed May 09, 2012 12:43 am

Well, after flipping the RO/RW perms in NFS a couple of times and watching Samba to switch to unwriteable and back everytime I did this, I decided to restore a recent configuration backup and reboot. Turned NFS off pretty much indefinitely - at least until the feature gets somehow decently configurable and not defaulting to insane insecure values, not to mention similar inexplicable bugs. Case closed for the moment. NFS == not be used with QNAP.
QNAP, why is your homework still not done?
3.8.2 Build0301 - Codename "Titanic" - Dear customer, GTFO! NOT acceptable once again!
QTS 4.0 - Codename "Leaky Snail" - Slower than ever. Yes, we can!
QNAP's new logo competition
User avatar
doktornotor
Experience counts
 
Posts: 2599
Joined: Tue Apr 24, 2012 5:44 am
NAS Model: Not Selected

Re: Exporting a share as read-only in NFS => read-only in Sa

Postby schumaku » Wed May 09, 2012 5:50 am

Smoked some bad stuff? Fully agree with every very valid complaint you placed on NFS ... but not here:

[~] # cat /etc/exports
Code: Select all
...
"/share/MD0_DATA/Multimedia" 10.10.1.*(ro,async,no_root_squash,insecure) *.home.mydomain.ch(ro,async,no_root_squash,insecure)
...


Still, no problems writing by SAMBA, here the config part:

Code: Select all
[Multimedia]
comment = System default shareb
path = /share/MD0_DATA/Multimedia
browsable = yes
oplocks = yes
ftp write only = no
public = yes
invalid users = "guest","ftp","homedir"
read list = @"everyone"
write list = "admin","user"
valid users = "root",@"everyone","admin","user"
inherit permissions = yes
User avatar
schumaku
Guru
 
Posts: 22172
Joined: Mon Jan 21, 2008 4:41 pm
Location: Kloten (Zurich), Switzerland -- Skype: schumaku
NAS Model: TS-x79 Pro

Re: Exporting a share as read-only in NFS => read-only in Sa

Postby doktornotor » Wed May 09, 2012 6:06 am

Well, maybe the QNAP box smoked something bad... :lol: Could reproduce as many times as wanted. Need at least Samba working to do some backups, not going to test again ATM.
QNAP, why is your homework still not done?
3.8.2 Build0301 - Codename "Titanic" - Dear customer, GTFO! NOT acceptable once again!
QTS 4.0 - Codename "Leaky Snail" - Slower than ever. Yes, we can!
QNAP's new logo competition
User avatar
doktornotor
Experience counts
 
Posts: 2599
Joined: Tue Apr 24, 2012 5:44 am
NAS Model: Not Selected


Return to Linux & Unix (NFS)

Who is online

Users browsing this forum: No registered users and 3 guests