TCLUG Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [TCLUG:7534] shared firectories



You also might want to make the directory setGID so that anything going into the
directory becomes owned by the groups.  To do this: chmod chmod g+s /foo/bar

Gabe
> 
> 
> --- Tim Wilson <wilson@chemsun.chem.umn.edu> wrote:
> > Hi everyone,
> > 
> > I'd like to create a directory for sharing documents with my 9th grade
> > science colleagues. Specifically, let's say that there are three teachers,
> > Tim, Linus, and Alan. Each have home directories in /etc/tim, etc. How and
> > where can I make a directory to this group to share? I know this is a
> > rather simple question, but I'm not sure about the permissions on the
> > shared directory.
> 
> I think a fast way to do it would be with groups. Add a line to /etc/group,
> giving a name, a group number, and then add tim, linus, and alan as members.
> Pretend for a moment that you called the group 'share'. Create your directory
> somewhere, let's say /foo/bar. Then do 'chown root.share /foo/bar' giving group
> ownership to 'share'. Finally, 'chmod g+rw /foo/bar' should allow all members
> of group 'share' to have read/write access to /foo/bar. Change the permissions
> according to what you want, though. Hope this gets you started. 
> 
> Cheers,
> Joel
> 
> _________________________________________________________
> Do You Yahoo!?
> Bid and sell for free at http://auctions.yahoo.com
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tclug-list-unsubscribe@mn-linux.org
> For additional commands, e-mail: tclug-list-help@mn-linux.org
> 


-- 
------------------------------------------------------------------------------
Gabe Turner <dopp@acm.cs.umn.edu>       
U of MN Csci/IT Systems Staff
President - ACM @ U of MN

"Blood is life and it shall be all ours!" -Dimmu Borgir "The Night Masquerade"
------------------------------------------------------------------------------