If the account with which you are logged into your client
is valid on the server (or domain) your connection will be
based on that account rather than guest. Windows clients
always send your desktop login credentials unless you tell
the client to map the share as a different user, and guest
access is only checked if all other authentication options
have failed.
If you are accessing ZFS from Windows clients I'd recommend
setting permissions using the chmod A option rather than the
traditional UNIX permissions to avoid spurious access issues.
There are aliases to get the appropriate permissions:
7 -> full_set
5 -> read_set/execute
4 -> read_set
Alan
-------- Original Message --------
Subject: [cifs-discuss] Prevent write access for guests
Date: Sat, 04 Sep 2010 00:42:16 -0700 (PDT)
From: Geoff <no-re...@opensolaris.org>
To: cifs-discuss@opensolaris.org
I guess I'm not just understanding permissions/ACLs. I have a share
that I'm using to serve music, videos, etc. to the rest of my household:
zfs
zfs/alpha/public smb=(guestok="true")
alpha_public=/alpha/public
I basically want to give everyone except me read-only access. The
directories are chmod'ed to 755 and the files to 644. Yet if I access
the share over the network I'm able to create, delete, rename files and
folders without ever logging in. What am I doing wrong here?
_______________________________________________
cifs-discuss mailing list
cifs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/cifs-discuss