[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

ntfs-3g и монтирование непривилегированным пользователем



Собственно, надоело монтировать вручную через sudo. Решил поднастроить
fstab. Буду краток:

--- /etc/fstab ---
...
/dev/sdc1		/mnt/flash	ntfs-3g \
noauto,rw,user,gid=users,fmask=0117,dmask=0002		0	0
------------------

--------------------
#  mount /mnt/flash/
Unprivileged user can not mount NTFS block devices using the external
FUSE library. Either mount the volume as root, or rebuild NTFS-3G with
integrated FUSE support and make it setuid root. Please see more
information at http://tuxera.com/community/ntfs-3g-faq/#unprivileged

# sudo chmod 4755 /bin/ntfs-3g

# mount /mnt/flash/
Mount is denied because setuid and setgid root ntfs-3g is insecure with
the external FUSE library. Either remove the setuid/setgid bit from the
binary or rebuild NTFS-3G with integrated FUSE support and make it
setuid root. Please see more information at
http://tuxera.com/community/ntfs-3g-faq/#unprivileged

# dpkg -s fuse | grep ^Status
Status: install ok installed
--------------------

Собственно, как же мне от непривилегированного пользователя-то
монтировать?

-- 
**************************************
*  jabber:  freehck@jabber.mipt.ru   *
*   Registered linux user #546240    *
**************************************


Reply to: