You are not logged in.

#1 2015-09-18 19:30:02

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,600
Website

Seeking assistance from udisks2/udisks savvy folks

I am currently using a helper bash script which, when users add themselves to run it in /etc/sudoers will mount an overlayfs mount and later on, umount it for them.  I'd like a more elegant way to do this and believe udisks/udisks2 might be that solution as suggested by Mr. Elendig in this post.  I am not sure how to write a polkit ruleset to cover this particular use case.

Goals:
1) Run `mount nosuid,nodev,noexec -t overlay ...` for the unprivileged user (or -t overlayfs).
2) Run `umount -l ...` for the unprivileged user.

The arguments for the overlayfs or overlay mount will be set by the script and are variable based on the user's data.  You can find my helper-script here:
https://github.com/graysky2/profile-syn … lay-helper


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

Board footer

Powered by FluxBB