P
P
Pavel K2016-09-03 22:00:34
ubuntu
Pavel K, 2016-09-03 22:00:34

Pam_mount ignores volume options, how to force?

Greetings!
I configure pam_mount to mount the share,
in /etc/security/pam_mount.conf.xml the connection string:

<volume user="*" mountpoint="~/LaserWork" path="LaserWork" server="server.suv" fstype="cifs" options="username=%(USER),iocharset=utf8,file_mode=0700,dir_mode=0700,nodev,nosuid" />

In auth.log I see cifs dmask deprecated and the invalid argument error
in the command is generally options="username=MYUSER,uid=MYUSER,gid=100,dmask=0700"
although I have it completely different O_O
PS there is no user settings file.
Where does it get this setting from (options=....) or is it standard? How to remove extra dmask ?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
P
Pavel K, 2016-09-03
@PavelK

I'm a woodpecker, quarrel. below the file was another line

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question