[MacPorts] #25609: macfuse-2.0.3_1 wrong file permissions
MacPorts
noreply at macports.org
Fri Jul 9 15:29:56 PDT 2010
#25609: macfuse-2.0.3_1 wrong file permissions
--------------------------+-------------------------------------------------
Reporter: ck@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 1.9.1
Keywords: | Port: macfuse
--------------------------+-------------------------------------------------
With the permissions as they are set now trying to mount anything via
macfuse (eg. encfs ~/somedir ~/someotherdir) as normal user and even as
root fails. Mounting as root can be fixed by setting kext permissions to
root:wheel (see below). Fixing mounting as normal user further needs
drwxr-xr-x permissions on the load_fusefs file (again see below).
Permissions of /Library/Filesystems/fusefs.fs/Support as they are set by
the port now:
{{{
fusefs.fs//Support:
total 96
lrwxr-xr-x 1 root wheel 81 Jul 9 23:45 autoinstall-macfuse-core ->
/Library/PreferencePanes/MacFUSE.prefPane/Contents/MacOS/autoinstall-
macfuse-core
drwxr-xr-x 3 root admin 102 Jul 9 23:45 fusefs.kext
-rwxr-xr-x 2 root admin 8916 Jul 9 23:44 load_fusefs
-rwxr-xr-x 2 root admin 23932 Jul 9 23:44 mount_fusefs
-rwxr-xr-x 2 root admin 6543 Jul 9 23:43 uninstall-macfuse-core.sh
fusefs.fs//Support/fusefs.kext:
total 0
drwxr-xr-x 4 root admin 136 Jul 9 23:45 Contents
fusefs.fs//Support/fusefs.kext/Contents:
total 8
-rw-r--r-- 2 root admin 1032 Jul 9 23:44 Info.plist
drwxr-xr-x 3 root admin 102 Jul 9 23:45 MacOS
fusefs.fs//Support/fusefs.kext/Contents/MacOS:
total 216
-rw-r--r-- 2 root admin 109776 Jul 9 23:44 fusefs
}}}
Permissions as they should be:
{{{
fusefs.fs//Support:
total 96
lrwxr-xr-x 1 root wheel 81 Jul 9 21:02 autoinstall-macfuse-core ->
/Library/PreferencePanes/MacFUSE.prefPane/Contents/MacOS/autoinstall-
macfuse-core
drwxr-xr-x 3 root wheel 102 Jul 9 21:02 fusefs.kext
-rwsr-xr-x 2 root admin 8916 Jul 9 21:01 load_fusefs
-rwxr-xr-x 2 root admin 23932 Jul 9 21:01 mount_fusefs
-rwxr-xr-x 2 root admin 6543 Jul 9 21:01 uninstall-macfuse-core.sh
fusefs.fs//Support/fusefs.kext:
total 0
drwxr-xr-x 4 root wheel 136 Jul 9 21:02 Contents
fusefs.fs//Support/fusefs.kext/Contents:
total 8
-rw-r--r-- 2 root wheel 1032 Jul 9 21:01 Info.plist
drwxr-xr-x 3 root wheel 102 Jul 9 21:02 MacOS
fusefs.fs//Support/fusefs.kext/Contents/MacOS:
total 216
-rw-r--r-- 2 root wheel 109776 Jul 9 21:01 fusefs
}}}
--
Ticket URL: <http://trac.macports.org/ticket/25609>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list