Anyone able to help me automount SMB shares?

Yes - that is what the table on the wiki page says, so it’s to be expected. “0” is no access, “2” is write access. It’s doing what you’re telling it to do.

Strongly recommend this primer on permissions :

Two things:

  • It is a mask, so doesn’t it have the opposite meaning? In this case, create files without write access for “other”?
  • He is testing with the group permissions and that is the byte for “other”

It doesn’t look like it does based on the permissions you showed above. However, I am not sure umask is what you want in this case. To be honest I didn’t even know that a cifs mount supported umask.

I think you want to set file_mode and dir_mode.

Try replacing the umask with this:

file_mode=0664,dir_mode=0775
2 Likes

Heh, look at me getting confused with the Arch wiki. Good job I raised that here! :grin:

2 Likes

Solved for now.