"force group" with no effect on BSD

Gerald Carter gcarter at valinux.com
Thu Apr 12 17:06:25 GMT 2001


On Thu, 12 Apr 2001, Jiri Lazansky wrote:

> [PC-tmp]
>         path = /usr/pc.tmp
>         force user = %U
          ^^^^^^^^^^^^^^^
This line is a little silly :-)

>         force group = nobody
>         writeable = Yes
>         create mask = 0664
>         force directory mode = 775
>         dos filetimes = Yes
>
> UNIX 'ls -la' command in /usr/pc.tmp says:
>
> drwxrwxrwx   4 root   wheel   512 Apr 12 18:21 ./
> drwxr-xr-x  19 root   wheel   512 Feb 22 18:07 ../
>
> My clients can access this share without any problems, the log file
> seems good, showing "effective(1000, 65534)" for the connected user -
> gid 65534=nobody. However, any object created on this share has proper
> user ownership but the group owner is always "wheel"

Have you tried a group other than 'nobody'?  or does the BSD filesystem
enfore some type of sticky bit like behavior?






Cheers, jerry
----------------------------------------------------------------------
   /\  Gerald (Jerry) Carter                     Professional Services
 \/    http://www.valinux.com/  VA Linux Systems   gcarter at valinux.com
       http://www.samba.org/       SAMBA Team          jerry at samba.org
       http://www.plainjoe.org/                     jerry at plainjoe.org

       "...a hundred billion castaways looking for a home."
                                - Sting "Message in a Bottle" ( 1979 )





More information about the samba-technical mailing list