LinuxForum.Fans
Тема

TrueCrypt, права доступа

Автор: yajohn 2 сообщений 2152 просмотров
#314575

Я тысячу раз извиняюсь, вопрос видимо идиотский, но сам я никак не сдвинусь с мертвой точки.

Монтирую том TrueCrypt, все прекрасно.
truecrypt -m=nokernelcrypto /dev/sda /var/lib/mpd/music
Внутри - NTFS, все работает. Но. Смонтированный том имеет владельцем текущего пользователя. А Music Player Daemon работающий от имени пользователя mpd получить доступ к нему не может.
Попытки сменить права доступа и запустить TrueCrypt от имени mpd успехом не увенчались.

Хэлп, выведите меня из этих трех деревьев :(

п.с. все это на raspberry pi

#314577

из беглого просмотра help'а

truecrypt -t --help написал:

--fs-options=OPTIONS
Filesystem mount options. The OPTIONS argument is passed to mount(8)
command with option -o when a filesystem on a TrueCrypt volume is mounted.
This option is not available on some platforms.
man ntfs-3g написал:

uid=value and gid=value
Set the owner and the group of files and directories. The values are numerical. The defaults are the uid and gid of the current process.

umask=value
Set the bitmask of the file and directory permissions that are not present. The value is given in octal. The default value is 0 which means full
access to everybody.

fmask=value
Set the bitmask of the file permissions that are not present. The value is given in octal. The default value is 0 which means full access to every‐
body.

dmask=value
Set the bitmask of the directory permissions that are not present. The value is given in octal. The default value is 0 which means full access to
everybody
Войдите или зарегистрируйтесь, чтобы ответить.