[Samba] Folder/directory permissions

Tim Pointing Tim.Pointing at dciem.dnd.ca
Tue Jul 16 07:20:02 GMT 2002


I am new to this list so please forgive what maybe an easy question.

I am trying to use Samba 2.2.5 on a Solaris 7 server for a bunch of Win9x and
Win2K clients. What I am currently having troubles with is viewing/changing
permissions on the W2K boxes. While everything seems to be working OK for
files (the check boxes show up and function correctly), this is NOT the case
for directories/folders.

For folders, none of the check boxes ever show up as checked (although, if
you check any of them, if shows as checked until you say "Apply" when they
all go blank again.) When I apply the selected permissions to a folder, it
appears to work (verified using "ls" on the server.)

Something which may be significant: when I try to bring up the Properties of
a folder, the following entry shows up in the SMBD log file:

	  W2Khostname (xx.xx.xx.xx) couldn't find service tes

This is strange because it appears to be looking for the service with the
last character missing (i.e. the correct service name in this case is
"test"), shown earlier in the log file as:

	  W2Khostname (xx.xx.xx.xx) connect to service test as user tim

Could it be that when the Properties dialog box is display on the W2K box,
causing the W2K box to query the Samba server for the permissions but that
the Samba server is somehow truncating the final character from the service
name (leading to it not finding any permissions for that folder, which it
reports back to the W2K box)?

Any ideas on resolving this issue?

My smb.conf is as follows:

   share modes = yes
   getwd cache = yes
   workgroup = MY_DOMAIN
   security = DOMAIN
   encrypt passwords = yes
   password server = *
   debuglevel = 1
   os level = 0
   domain master = no
   preferred master = no
   max log size = 1000
   mangled names = No
   inherit acls
   directory mask = 777
   time server = Yes
   unix extensions = Yes
   name resolve order = host wins bcast
   guest account = smbguest
   comment = Samba test space
   path = /export/home0/sambatest
   read only = no
   guest ok = no
   browseable = yes
   inherit permissions = Yes

Many thanks in advance!
	Tim Pointing,
	Systems Manager, DRDC Toronto
	Toronto, Ontario, Canada
	Tim.Pointing at drdc-rddc.gc.ca

More information about the samba mailing list