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?

  • mdcbldr@alien.topB
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year ago

    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