You are not logged in.

#1 Yesterday 06:25:15

archaea
Member
Registered: 2025-10-20
Posts: 31

[SOLVED] Stop unwanted permission change?

I'm using lemonade-server as a system service, and only start it manually.  To simplify browsing lemonade's files manually, I have /var/lib/lemonade set to 0755 permissions (not seeing any significant security advantage to using 0750 permissions there on this specific system).

When I do sudo systemctl start lemond, /var/lib/lemonade changes permissions from 0755 to 0750.

What is changing the permissions to 0750 and how to configure it not to do that?

In case it's relevant, /var/lib/lemonade is the home directory of the "lemonade" user, and I have it set up as a bind-mount to elsewhere.  I'd like any change to be specific to lemonade, e.g. I'd like to keep my main user's homedir permissions at 0750.

Alternatively, I could consider just adding my user to the "lemonade" group instead of trying to diagnose this, since the goal is just to give my user read access to /var/lib/lemonade.  But not sure if that would have unwanted implications I don't know about?  (Or would that actually be a better solution?)

Thanks for any insight.

Last edited by archaea (Yesterday 17:28:45)

Offline

#2 Yesterday 10:41:37

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 15,386

Re: [SOLVED] Stop unwanted permission change?

/var/lib/lemonade is the home directory of the "lemonade"

How was it created ?

Please post the output of ls -l /var/lib without lemonade running.


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

#3 Yesterday 11:10:36

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,642

Re: [SOLVED] Stop unwanted permission change?

Offline

#4 Yesterday 17:28:36

archaea
Member
Registered: 2025-10-20
Posts: 31

Re: [SOLVED] Stop unwanted permission change?

seth wrote:

Thanks seth, that was it.  I have no idea why I was thinking that was the permissions for the lemonade user's ~/.local/state directory hmm

Offline

Board footer

Powered by FluxBB