On 09/14/10 11:22 AM, Peter Taps wrote:
Folks,

When a mount a Windows share within OpenSolaris, only root account is able to 
access it. I would appreciate it if someone can tell me what I am doing wrong.

Here is what I did:

$ su
# mkdir /GeneralShare
# chmod 777 /GeneralShare

Don't use legacy permission masks on ZFS when sharing for SMB/CIFS.
There are lots of previous discussion threads that cover this,
for example:
http://opensolaris.org/jive/thread.jspa?threadID=132936&tstart=0
or
http://opensolaris.org/jive/thread.jspa?messageID=498925&tstart=0

# logout
$ mount -F smbfs "/mysvr:pe...@mysvrmachine/GeneralShare" /GeneralShare
$ pfexec ls /GeneralShare   ;this works
$ ls /GeneralShare           ; permission denied

If the permissions on the server look okay, you should look at
who did the mount on the client and the mountpoint permissions.

Alan
_______________________________________________
cifs-discuss mailing list
cifs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/cifs-discuss

Reply via email to