Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!crdgw1!uunet!mcsun!unido!rwthinf!marvin.e17.physik.tu-muenchen.de!berg From: berg@marvin.e17.physik.tu-muenchen.de (Stephen R. van den Berg) Newsgroups: comp.unix.admin Subject: Re: User-specified file sharing Message-ID: <4259@rwthinf.UUCP> Date: 24 Apr 91 13:43:08 GMT References: <1991Apr19.000648.12172@ccu.umanitoba.ca> Sender: news@rwthinf.UUCP Lines: 25 Gary Mills writes: >Does anyone know of a way that groups of users can share files among >themselves without requiring action by the administrator? Suppose users "george" and "henry" want to share the files "fa" and "fb", consider the following setup: ~henry drwxr-xr-x 1 henry |george drwx------ 1 george | |fa -rw-rw-rw- 2 henry | |fb -rw-rw-rw- 2 henry |henry drwx------ 1 henry |fa -rw-rw-rw- 2 henry |fb -rw-rw-rw- 2 henry Where fa and fb are physically linked (ln henry/fa george/fa). The only restriction is, that files can not be arbitrarily created or removed. (Though a suitably secure suid henry and george program can take care of that). -- Sincerely, berg@marvin.e17.physik.tu-muenchen.de Stephen R. van den Berg. "I code it in 5 min, optimize it in 90 min, because it's so well optimized: it runs in only 5 min. Actually, most of the time I optimize programs."