Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 03 Sep 2019 14:06:44 -0000
From:      Alan Somers <asomers@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-projects@freebsd.org
Subject:   svn commit: r346139 - projects/fuse2/sys/fs/fuse
Message-ID:  <201904112243.x3BMhJLw080966@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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);





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201904112243.x3BMhJLw080966>