Displaying 1 result from an estimated 1 matches for "techslaves".
2013 Sep 15
1
group share directory
...://www.mail-archive.com/samba at lists.samba.org/msg88752.html
STFW I found various posts with partial solutions based on Unix groups,
directory permissions, the group sticky bit, and default ACL's:
http://brunogirin.blogspot.com/2010/03/shared-folders-in-ubuntu-with-setgid.html
http://techslaves.org/2010/04/23/posix-default-acls-umask-and-project-directories/
Here is a Bourne shell script that implements a partial solution:
#!/bin/sh
set -o nounset
set -o errexit
DIR=/mnt/z/data/GroupShare
USERNAME=groupshare
if `grep -q $USERNAME /etc/passwd`; then delu...