Sorry Alan and thanks Ross for the advice.

I guess I was working late last night and didn't re-read my post properly. I 
restarted everything from scratch.

For this test, I recreated my zpool using:
r...@osbox:~# zpool create zstorage raidz2 c4t0d0 c4t1d0 c5t0d0 c5t1d0 c6t0d0 
c6t1d0

I then created my dataset:
r...@osbox:~# zfs create -o casesensitivity=mixed -o nbmand=on zstorage/Share

Followed by sharing it:
r...@osbox:~#zfs set sharesmb=on /zstorage/Share

I have an XP box which i'm using for testing. On winxp, I created the user 
"soft" and added him to the group "software". This user has the same password 
and is in the same group on Solaris. I've added the line to /etc/pam.conf and 
reset the password.

/etc/passwd
soft:x:65535:100::/export/home/soft:/bin/bash

/etc/group
software::100:

I've confirmed both passwords are the same on windows and solaris.

Then yesterday I added the permissions:
r...@osbox:~# /usr/bin/chmod -R A=user:soft:read_set:fd:allow /zstorage/Share/
r...@osbox:~# /usr/bin/chmod -R A+user:soft:write_set:fd:allow /zstorage/Share/

I thought that with these permissions, I should be able to list the content and 
add files to the directory.

r...@osbox:~# /usr/bin/ls -vd /zstorage/Share/
d---------+ 2 root software 2 Apr 13 17:18 /zstorage/Share/
0:user:soft:add_file/write_data/add_subdirectory/append_data/write_xattr
/write_attributes:file_inherit/dir_inherit:allow
1:user:soft:C
Although "soft" is not the owner, shouldn't these permissions depict who has 
access and what they can do? If soft has 

r...@osbox:~# /usr/bin/ls -vd /zstorage/Share/
d---------+ 2 root software 2 Apr 13 17:18 /zstorage/Share/
0:user:soft:add_file/write_data/add_subdirectory/append_data/write_xattr
/write_attributes:file_inherit/dir_inherit:allow 
list_directory/read_data/read_xattr/read_attributes/read_acl
:file_inherit/dir_inherit:allow

Shouldn't "soft" be able to list the content?

I'm pretty busy today but when I get back later on, I will get the output from 
the script and try setting the permissions via Windows.

I'll keep you posted,

Fatman
-- 
This message posted from opensolaris.org
_______________________________________________
cifs-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/cifs-discuss

Reply via email to