question about SAMBA shared directory and file permissions

Peter Risdon peter at
Sat Apr 17 00:57:53 PDT 2004 at wrote:

> Hi,
> i have been having problems with a SAMBA shared directory and user 
> permissions. My smb.conf file is simple and allows for members of 
> 'wwwdev' access the directory, and they can when i test it, but we get 
> all kinds of problems with the permissions on various files and 
> directories:

It would help if you said exactly what those problems are.

> //////////////////////////////////////////////////////
> [wwwdev]
>     comment = Virtual Web Servers HTTP dirs
>     path = /usr/wwwdev
>     create mode = 0765
>     valid users = @wwwdev
> //////////////////////////////////////////////////////

You might also need to set the directory mode on the share.

> i assume this is a ownership issue on the unix file system side, 
> although i have opened up the permissions to 'pants down in public' 
> level ....
> drwxrwxrwx
> -rwxrwxrwx

So, what is the problem? Do these permissions and/or the file ownerships 
get altered when accessed by a Windows client?


More information about the freebsd-questions mailing list