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

Re: file permissions with devfsd



On Fri, Nov 22, 2002 at 09:36:32PM -0800, John L. Fjellstad wrote:
> I'm running Debian 3.0 with custom Linux 2.4.19 kernel.
> 
> I added this to /etc/devf/perms file:
> REGISTER ^scsi/host0/bus0/target6/lun0/generic$ PERMISSIONS root.cdrom
> 0660
> 
> Still, whenever I reboot the system, the generic device gets reset
> to the default permission (root.root 0600), and I have to manually
> make the changeover . How do I make the change
> permanent?

I have this line in my devfs/perms:
REGISTER ^sg[^/]*$ PERMISSIONS root.scsi 0660
which operates on the symlink created by devfs (for some reason I cannot
recall) and it works fine...

-rob

Attachment: pgp8fAE68FcSm.pgp
Description: PGP signature


Reply to: