fusefs: /dev/fuse should be 0666
The fuse protocol is designed with security in mind. It prevents users from spying on each others' activities. And it doesn't grant users any privileges that they didn't already have. So it's appropriate to make it available to everyone. Plus, it's necessary in order for kyua to run tests as an unprivileged user. Sponsored by: The FreeBSD Foundation
This commit is contained in:
parent
c9c34c2057
commit
b4227f34e8
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/projects/fuse2/; revision=346139
@ -445,7 +445,7 @@ fuse_device_init(void)
|
||||
{
|
||||
|
||||
fuse_dev = make_dev(&fuse_device_cdevsw, 0, UID_ROOT, GID_OPERATOR,
|
||||
S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP, "fuse");
|
||||
S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP | S_IROTH | S_IWOTH, "fuse");
|
||||
if (fuse_dev == NULL)
|
||||
return (ENOMEM);
|
||||
return (0);
|
||||
|
Loading…
Reference in New Issue
Block a user