Пытаюсь подлкючить расшареный сетевой ресурс по протоколу CIFS с помощью модуля pam_mount в Ubuntu 10.04. Ресурс монтируются, папки и фалы доступны только для просмотра. Настройки прав проверял на папку.
Как только даю права на доступ групп everyone все папки становятся доступны. Устройство ведено в домен предприятия.
DSM 4.1-2668
NAS DS712+
Конфиг PAM_MOUNT:
<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE pam_mount SYSTEM "pam_mount.conf.xml.dtd">
<!--
See pam_mount.conf(5) for a description.
-->
<pam_mount>
<!-- debug should come before everything else,
since this file is still processed in a single pass
from top-to-bottom -->
<debug enable="0" />
<!-- Volume definitions -->
<!-- pam_mount parameters: General tunables -->
<!--
<luserconf name=".pam_mount.conf.xml" />
-->
<!-- Note that commenting out mntoptions will give you the defaults.
You will need to explicitly initialize it with the empty string
to reset the defaults to nothing. -->
<mntoptions allow=""/>
<!--
<mntoptions deny="suid,dev" />
<mntoptions allow="*" />
<mntoptions deny="*" />
-->
<mntoptions require="nosuid,nodev" />
<path>/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin</path>
<logout wait="0" hup="0" term="0" kill="0" />
<!-- pam_mount parameters: Volume-related -->
<mkmountpoint enable="1" remove="true" />
<volume user="*" fstype="cifs" server="nas" path="exchange" mountpoint="~/Exchange"/>
</pam_mount>