From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 In-Reply-To: References: Date: Mon, 9 Nov 2009 22:00:18 -0800 Message-ID: Subject: Re: [9fans] group ownership for shared devices From: Russ Cox To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: text/plain; charset=UTF-8 Topicbox-Message-UUID: 9889a1e0-ead5-11e9-9d60-3106f5b1d025 On Mon, Nov 9, 2009 at 9:44 PM, Lyndon Nerenberg wrote: > I have a CPU server running as 'glenda' that has a DVD drive. I want to make > that DVD drive available to various terminals on the network. But I don't > want to put the terminal users into glenda's group. The obvious > solution seemed to be to set up a 'commondevs' group, add glenda and the > allowed device users to it, then have the CPU server 'chgrp commondevs > /dev/...' but no joy there. There's got to be something stunningly simple > here that I'm missing ... This solution didn't work because groups are specific to the file server implementing them. Your CPU server doesn't know about the groups on your file servers and doesn't itself implement any groups. You could hack up a copy of srvfs that looks at the user name being presented over the 9P connection and makes the decision that way, or you could write a custom file server with its own group list, like consolefs has. Russ