Hi,

I have installed OSol from 2008.11rc1 media (immediately updated to rc2 via 
pkg) and have created a zpool called 'datapool' on a 500GB drive.  I have 
already moved some data to it, and while in the process of setting it up as a 
CIFS/NFS NAS I ran into problem.

I setup the CIFS server and set it to workgroup mode, using the article over at 
the genunix wiki as a guide..  I've shared datapool as sharesmb="name=media". I 
can authenticate and mount the media share via CIFS from both my Vista SP1 box 
and my Ubuntu 8.10 laptop.  Once mounted, though, I can see the folders inside 
of the share, but I  can't view their contents, nor the permissions on the 
subdirectories, nor the permissions on the share itself -- all these operations 
fail with an "Access is denied" message on Vista (similar message on Ubuntu).  
I've tried mounting with both my local account and root, with no difference in 
behavior.  I've tried changing the permissions to be less restrictive and still 
no change.

To work with this issue, I've setup a test volume called 'datapool/test' 
similar to how the other volumes were created (see below) and populated it with 
a few files:
    pfexec zfs create -o casesensitivity=mixed datapool/test

Help getting this rolling would be greatly appreciated.  As requested in other 
threads, I've attached the output of cifs-chkcfg, cifs-gendiag, and a snoop 
during authentication.  The 'ls -V' output is below -- datapool has somewhat 
strange permissions due to my previous attempts to fix this myself:
# ls -ldV /datapool /datapool/test
dr-xr-xr-x+  9 root     sysadmin       9 Nov 26 01:54 /datapool
              everyone@:r-x---a-R-c--s:-------:allow
         group:sysadmin:rwxpdDaARWcCos:fd-----:allow
            group:users:r-x---a-R-c--s:fd-----:allow
drwxr-xr-x   4 root     root           6 Nov 26 01:56 /datapool/test
                 owner@:--------------:-------:deny
                 owner@:rwxp---A-W-Co-:-------:allow
                 group@:-w-p----------:-------:deny
                 group@:r-x-----------:-------:allow
              everyone@:-w-p---A-W-Co-:-------:deny
              everyone@:r-x---a-R-c--s:-------:allow

I don't think this is necessarily a bug, probably configuration error on my 
part.

Thanks!
Kevin
-- 
This message posted from opensolaris.org

Reply via email to