kopia lustrzana https://gitlab.com/sane-project/backends
2001-09-08 Oliver Rauch <Oliver.Rauch@rauch-domain.de>
* added information for device filesystem permissions in doc/sane-scsi.manDEVEL_2_0_BRANCH-1
rodzic
275d03e3df
commit
4bfe736201
|
@ -94,6 +94,22 @@ then the following two commands would set the permission correctly:
|
||||||
$ chgrp scanner /dev/sge
|
$ chgrp scanner /dev/sge
|
||||||
.br
|
.br
|
||||||
$ chmod 660 /dev/sge
|
$ chmod 660 /dev/sge
|
||||||
|
.br
|
||||||
|
.RE
|
||||||
|
.PP
|
||||||
|
When your system uses the device filesystem (devfs), you have to edit
|
||||||
|
.BR /etc/devfs/perms.
|
||||||
|
There you should search the line
|
||||||
|
.PP
|
||||||
|
.RS
|
||||||
|
REGISTER ^sg[^/]* PERMISSIONS root.root 0600
|
||||||
|
.RE
|
||||||
|
.PP
|
||||||
|
and add a new line (eg. for changing permissions of sg4):
|
||||||
|
.PP
|
||||||
|
.RS
|
||||||
|
REGISTER ^sg4 PERMISSIONS root.scanner 0660
|
||||||
|
.RE
|
||||||
.RE
|
.RE
|
||||||
.SH FreeBSD
|
.SH FreeBSD
|
||||||
.PP
|
.PP
|
||||||
|
|
Ładowanie…
Reference in New Issue