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?

  • Kevin_Cossaboon@alien.topOPB
    link
    fedilink
    English
    arrow-up
    1
    ·
    10 months ago

    I have set all the volumes to ‘public’ and the container can now write.

    Is this the right process?

  • mdcbldr@alien.topB
    link
    fedilink
    English
    arrow-up
    1
    ·
    10 months 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