[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Permission policy



hi,

> The program needs rx-permissions for a device belonging to the
> cdrom group and rw-permissions for a device belonging to the
> audio group.
> 
> Any ideas?
users using your program and thus being able to access the
sound / cdrom hardware should be in the cdrom+audio group
for themself

its not your programs task to gain access, it should
already be provided by the calling process.

you could print a message that the user should ask the
sysadmin to add them to these groups if your open-call
fails.

-- 
CU,		  / Friedrich-Alexander University Erlangen, Germany
Martin Waitz	//  [Tali on IRCnet]  [tali.home.pages.de] _________
______________/// - - - - - - - - - - - - - - - - - - - - ///
dies ist eine manuell generierte mail, sie beinhaltet    //
tippfehler und ist auch ohne grossbuchstaben gueltig.   /

Attachment: pgpZY5pP0gluR.pgp
Description: PGP signature


Reply to: