Skip to content

Instantly share code, notes, and snippets.

@flooose
Last active November 4, 2023 15:56
Show Gist options
  • Select an option

  • Save flooose/061463073f48e936bb55e2f96c65c1b4 to your computer and use it in GitHub Desktop.

Select an option

Save flooose/061463073f48e936bb55e2f96c65c1b4 to your computer and use it in GitHub Desktop.
The documentation in udisks2.conf.example is pretty sparse and it took a while to get this going, but this is how I got one specific external drive, formatted with an ext2/3/4 filesystem, to mount with user (not root) write permissions.
[/dev/disk/by-uuid/b3316cac-0e17-432f-a43e-00b4c770ec52]
ext3_allow=rw,exec,X-mount.owner,X-mount.group
ext3_defaults=rw,exec,X-mount.owner=chris,X-mount.group=wheel
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment