[OpenIndiana-discuss] Office apps unable to write to ZFS over CIFS

Martin Frost me at cs.Stanford.EDU
Thu Jun 28 21:08:01 UTC 2012


I'm running oi_148 as a fileserver, exporting via NFS and the
kernel CIFS service for ZFS.

But Windows users (XP and probably all Windows versions) are unable to
write files from any MS Office applications into the shares from ZFS.
They always get: "Access denied.  Contact your administrator."  Same
result whether they're trying to overwrite a file or write a new file.

Any ideas what's causing that?  This is driving me crazy.  I've
seen the same problem under Linux with Samba, where disabling
locking seemed to help.

After that error, the users save the file to the local disk and copy
it over the CIFS connection into the ZFS system successfully.  So they
clearly have write access into ZFS from Windows, and the filesystem
has lots of free space, but Office can't write any files to ZFS.  I
assume this is some sort of locking problem.  I have nbmand=on, which
is what I've read it should be set to for CIFS sharing.

The directories and files they're trying to edit are owned by the
actual user (defined by matching passwd and smbpasswd entries on the
OI machine) and have 700 permissions and full_set ACLS:

	       owner@:rwxpdDaARWcCos:fd-----:allow
	    everyone@:rwxpdDaARWcCos:fd-----:deny

Some relevant services:

online         Feb_11   svc:/network/shares/group:smb
online         Mar_01   svc:/network/smb/server:default
online         Feb_27   svc:/network/nfs/status:default
online         Feb_27   svc:/network/nfs/rquota:default
online         Feb_27   svc:/network/nfs/nlockmgr:default
online         May_08   svc:/network/nfs/mapid:default
online         May_09   svc:/network/nfs/server:default
online         May_09   svc:/network/nfs/cbd:default

Here are most properties of the filesystem:

NAME         PROPERTY         VALUE              SOURCE
gname/thefs  mounted          yes                -
gname/thefs  reservation      none               default
gname/thefs  mountpoint       /gname/thefs       default
gname/thefs  sharenfs         sec=sys,rw=gname   local
gname/thefs  checksum         on                 default
gname/thefs  compression      gzip               inherited from gname
gname/thefs  atime            off                inherited from gname
gname/thefs  devices          on                 default
gname/thefs  exec             on                 default
gname/thefs  readonly         off                default
gname/thefs  zoned            off                default
gname/thefs  aclinherit       passthrough        local
gname/thefs  canmount         on                 default
gname/thefs  xattr            on                 default
gname/thefs  version          5                  -
gname/thefs  utf8only         off                -
gname/thefs  normalization    none               -
gname/thefs  casesensitivity  mixed              -
gname/thefs  vscan            off                default
gname/thefs  nbmand           on                 local
gname/thefs  sharesmb         name=thefs         local
gname/thefs  refquota         none               default
gname/thefs  refreservation   none               default
gname/thefs  logbias          latency            default
gname/thefs  dedup            off                default
gname/thefs  mlslabel         none               default
gname/thefs  sync             standard           default

Thanks for any suggestions!

Martin



More information about the OpenIndiana-discuss mailing list