Date: Sat, 17 Apr 2004 15:12:36 -0700 From: Eric Heintzberger <erich@heintzberger.org> To: "freebsd.org@carmoda.com" <freebsd.org@carmoda.com> Cc: freebsd-questions@freebsd.org Subject: Re: question about SAMBA shared directory and file permissions Message-ID: <20040417221236.GA60996@heintzberger.org> In-Reply-To: <4080E09D.5030601@carmoda.com> References: <4080E09D.5030601@carmoda.com>
next in thread | previous in thread | raw e-mail | index | archive | help
This is how I would do it, assuming I understand you correctly: [wwwdev] comment = Virtual Web Servers HTTP dirs path = /usr/wwwdev browseable = yes # So that new files are created with 0664 mode -- force create mode = 0664 # So that new directories are created with 0775 mode -- force directory mode = 0775 force group = wwwdev # Set this to yes (default) if you use the DOS archive bit for backups # Otherwise, set it to no to get rid of unintended executable bits # being set in non-executable files map archive = no printable = no public = no valid users = @wwwdev writable = yes Also, reset all permissions and group ownerships in /usr/wwwdev to the intended values. freebsd.org@carmoda.com 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: > > ////////////////////////////////////////////////////// > [wwwdev] > comment = Virtual Web Servers HTTP dirs > path = /usr/wwwdev > create mode = 0765 > valid users = @wwwdev > ////////////////////////////////////////////////////// > > > 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 > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040417221236.GA60996>