this post was submitted on 26 Nov 2023
1 points (100.0% liked)

Portainer

28 readers
0 users here now

Portainer Community Edition is a lightweight service delivery platform for containerized applications that can be used to manage Docker, Swarm, Kubernetes and ACI environments.

founded 1 year ago
MODERATORS
 

Newbie here.

I have Portainer (CS) v2 up and running.

I set up a Volume to use CIFS to my NAS

I set a Container to map the path in the container to Volume


I can read the files in the CIFS Share, I can not write to them.


I assume this is permitions. The usrer ID logging into the NAS has the permitions,

Is it a

  • PUID
  • PGID

issue? if so, what should I use, or how do I find the User ID / Group ID for the CIF Share?

you are viewing a single comment's thread
view the rest of the comments
[โ€“] [email protected] 1 points 11 months ago (1 children)

I hate Samba.

I chmod 2775 my shared folder And set guest account = shareowner

Then in your share:

public = yes # or guest ok = yes
writeable = yes # or writable = yes or read only = no
create mask = 0660
directory mask = 0770
force user = shareowner

Where shareowner is the user that owns that share, and all subs. Shareowner is in a samba user with a PW.


Login as shareowner, and you should be okay
[โ€“] [email protected] 1 points 11 months ago