Permissions with GBDE.

Lukas Kaminski lukas.kaminski at web.de
Wed Feb 11 05:24:25 PST 2004


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


More information about the freebsd-current mailing list