Date: Wed, 11 Feb 2004 14:34:00 +0100 From: "Poul-Henning Kamp" <phk@phk.freebsd.dk> To: Lukas Kaminski <lukas.kaminski@web.de> Cc: freebsd-current@freebsd.org Subject: Re: Permissions with GBDE. Message-ID: <12599.1076506440@critter.freebsd.dk> In-Reply-To: Your message of "Wed, 11 Feb 2004 14:23:47 GMT." <200402111423.20778.lukas.kaminski@web.de>
next in thread | previous in thread | raw e-mail | index | archive | help
In message <200402111423.20778.lukas.kaminski@web.de>, Lukas Kaminski writes: >Hi! > >Something strange happens: > >after a 'gbde attach /dev/afd0 -l /etc/gbde/afd0' >the permissions are: > >crw-rw---- 1 root operator 4, 12 Feb 11 11:28 afd0 >crw-r----- 1 root operator 4, 23 Feb 11 11:28 afd0.bde > >so i can't mount the encrypted device as a user. >I wonder why the ownership is set correctly, but the device permissions are >not. > >Maybe i misunderstood the whole concept of devfs.... > >sysctl.conf: >vfs.usermount=1 > >devfs.conf: >own afd0 root:operator >perm afd0 0660 >own afd0.bde root:operator >perm afd0.bde 0660 I think devfs.conf only applies at boot time, and you really should make a devfs rule (see devfs(8)) for which there is some support in RCng too, but I have not quite figured out how to use it myself yet :-( -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?12599.1076506440>