this post was submitted on 27 Oct 2023
30 points (94.1% liked)

Linux

48230 readers
639 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

The one thing stopping me from having a "work profile" "private profile" etc, is the permissions.

I could hardlink folders from one user to another, but then there would be permission issues.

I could do a chown -r /home/user/Work but every newly created file would again belong to "work" and I couldnt edit it with "private" for example.

Libreoffice also doesnt like any permission issues and will only open a copy in those cases.

Would I need an autostart script using pkexec, or a systemd service to always make both users recursively owners of these directories? Is there a better way?

Btw, I use Fedora Kinoite (KDE) and moving things from one user to another takes very long, unlike moving withing the same user. It seems as if it would really change the file location, not just the pointer, but I am no BTRFS expert at all.

you are viewing a single comment's thread
view the rest of the comments
[–] jcrabapple@infosec.pub 1 points 1 year ago (1 children)
[–] luthis@lemmy.nz -1 points 1 year ago

This is the way.