question about SAMBA shared directory and file permissions
Eric Heintzberger
erich at heintzberger.org
Sat Apr 17 15:12:29 PDT 2004
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 at 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 at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"
More information about the freebsd-questions
mailing list