svn commit: r346139 - projects/fuse2/sys/fs/fuse

Alan Somers asomers at FreeBSD.org
Tue Sep 3 14:06:44 UTC 2019


Author: asomers
Date: Thu Apr 11 22:43:19 2019
New Revision: 346139
URL: https://svnweb.freebsd.org/changeset/base/346139

Log:
  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

Modified:
  projects/fuse2/sys/fs/fuse/fuse_device.c

Modified: projects/fuse2/sys/fs/fuse/fuse_device.c
==============================================================================
--- projects/fuse2/sys/fs/fuse/fuse_device.c	Thu Apr 11 22:34:28 2019	(r346138)
+++ projects/fuse2/sys/fs/fuse/fuse_device.c	Thu Apr 11 22:43:19 2019	(r346139)
@@ -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);




More information about the svn-src-projects mailing list