this post was submitted on 24 Nov 2023
18 points (84.6% liked)

Selfhosted

40173 readers
1100 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 1 year ago
MODERATORS
 

So I'm on plex scanning my library to get new videos added and they show up briefly then quickly disappear. So I looked into logs and plex is spitting out a boat load of permission denied logs.

Background: my plex is a vm in proxmox with its data in a cifs share stored on my truenas scale box. This has been working great for years.

I go take a look on my truenas scale dataset and sure enough, the acl is wonky.

I used to have plex as owner and group as well as permissions for several other users. Now the owner is polkitd which seems to be a service used in Linux for policy auth and permissions. Obviously I'm no Linux master, but i can fiddle.

Anyway the user I use to mount the share is no longer in the acl. Somehow it can still mount the share though?

So question, who the f is this polkitd, and who the hell do they think they are messing with my plex time?

More seriously, is there a reason polkitd would take ownership or modify an acl like this? Where would I look in logs for this?

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 4 points 11 months ago

I had a samba issue a while back where the underlying file system started my user didn’t have permission to edit it. It still showed as my user on the vm but didn’t let me edit files. It might be worth checking the owner on the original file system, as well as permissions.