Permissions problem

Dave Walton walton at
Tue Feb 23 06:52:54 GMT 1999

I've run into an annoying permission problem with Samba 2.0.2 on 
FreeBSD 2.2.6.  I have a share named siteimages that is set up 
with "force group = www".  User neuro is in group 1000 (user), but 
not group 1001 (www).  The directory for siteimages is 0770, owned 
by nobody.www.  Obviously, neuro does not have access to that 
directory normally, but forcing the group should give him access.

When he tries to connect to the share, we see this in the logfile:

[1999/02/22 20:22:42, 3] smbd/password.c:authorise_login(737)
  ACCEPTED: validated uid ok as non-guest
[1999/02/22 20:22:42, 3] smbd/service.c:make_connection(354)
  Forced group www
[1999/02/22 20:22:42, 3] smbd/service.c:make_connection(386)
  Connect path is /home/www/network/siteimages
[1999/02/22 20:22:42, 3] smbd/password.c:setup_groups(192)
  neuro is in 2 groups: 1001, 1001
[1999/02/22 20:22:42, 3] lib/doscalls.c:dos_ChDir(327)
  dos_ChDir to /home/www/network/siteimages 
[1999/02/22 20:22:42, 0] smbd/service.c:make_connection(441)
  Can't change directory to /home/www/network/siteimages 
(Permission denied)

The only way I can get this to work is to either make the directory 
0775 or actually add neuro to the www group.  But the "force 
group" option is pretty pointless, if that's the way it has to be.  Any 
ideas what I might be missing?


Dave Walton                                                           
Webmaster, Postmaster                                           Emusic
walton at                      

More information about the samba mailing list