With allow_other, the volume will be accessible normally to all users, but usual permission checks will of course apply. Note that allow_other
is a privileged option in that it can only be used by either the
superuser or by a user belonging to the "osxfuse Admin" group. When
osxfuse loads in the kernel, it sets this group's ID to be that of the
admin group on Mac OS X. The superuser can view or change this ID
through the sysctl interface (note that osxfuse allows you to set any group ID you specify, even those that do not exist):
$ sudo sysctl vfs.generic.osxfuse.tunables.admin_group # get
vfs.generic.osxfuse.tunables.admin_group: 80
$ sudo sysctl -w vfs.generic.osxfuse.tunables.admin_group=81 # set
vfs.generic.osxfuse.tunables.admin_group: 80 -> 81
vfs.generic.osxfuse.tunables.admin_group to the group ID 20 (staff) doesn't have any effect.
Am 09.01.2020 um 23:52 schrieb Barry Leslie <Barry....@primebase.org>:
--
You received this message because you are subscribed to the Google Groups "OSXFUSE" group.
To unsubscribe from this group and stop receiving emails from it, send an email to osxfuse-grou...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/osxfuse-group/6e14b553-2210-4911-b327-7438e580d1da%40googlegroups.com.
Have a closer look at the admin_group sysctl. Set the admin group to 20 (staff) to allow non-admin users to use the allow_other option. You would need to check the setting before every mount.However, please keep in mind that this has stability implications. Users would be able to mount all kinds of file systems and allow system processes to access them. This could lead to the system becoming unresponsive or unstable.An alternative approach would be to write a helper with root permissions to mount just the one file system with the allow_other option.Best regards,Benjamin
To unsubscribe from this group and stop receiving emails from it, send an email to osxfus...@googlegroups.com.