LINUX.ORG.RU

Я опять все прослоупочил?

 ,


0

1

Что за фигня творится с ntfs-3g?

[23:15:37][alex][~]: ntfs-3g /dev/sda1 /media/System/
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

Как починить?

И да, с каких пор давать маунтить диски стало несекурно?

Как починить?

Either remove the setuid/setgid bit from the binary or rebuild NTFS-3G with integrated FUSE support and make it setuid root

leave ★★★★★
()
Ответ на: комментарий от unanimous

Под рутом еще веселее:

[23:21:31][alex][~]: sudo ntfs-3g /dev/sda1 /media/System/
ntfs_mst_post_read_fixup_warn: magic: 0x00000001  size: 4096   usa_ofs: 21  usa_count: 65535: Недопустимый аргумент
Actual VCN (0xff010000000000) of index buffer is different from expected VCN (0x1).
Failed to mount '/dev/sda1': Ошибка ввода/вывода
NTFS is either inconsistent, or there is a hardware fault, or it's a
SoftRAID/FakeRAID hardware. In the first case run chkdsk /f on Windows
then reboot into Windows twice. The usage of the /f parameter is very
important! If the device is a SoftRAID/FakeRAID then first activate
it and mount a different device under the /dev/mapper/ directory, (e.g.
/dev/mapper/nvidia_eahaabcc1). Please see the 'dmraid' documentation
for more details.

AlexCones ★★★
() автор топика
Ответ на: комментарий от fragment

Ок, как это сделать, если у меня бинарный дистрибутив?

AlexCones ★★★
() автор топика

Я опять все прослоупочил?

Нет, такой ахтунг показывался давно, например, если в Генте неправильно юзы external-fuse и suid выставить.

gentoo_root ★★★★★
()
Ответ на: комментарий от GotF

Спасибо. Правда маунтиться диск все равно отказывается. Нагуглил, что винда могла некорректно завершить ntfs сессию. Собственно проблема появилась, когда я sudo update-grub делал, после того, как разрешение там сменил. Диск не примаунтился, поэтому оффтоп он там не нашел. Пишу руками - не грузится:

40_custom:

#!/bin/sh
exec tail -n +3 $0
# This file provides an easy way to add custom menu entries.  Simply type the
# menu entries you want to add after this comment.  Be careful not to change
# the 'exec tail' line above.

menuentry "Offtopic XP" {
 insmod ntfs
 set root='(hd0,msdos1)'
 drivemap -s (hd0) ${root}
 chainloader +1
}

Мигает черный курсор и все. msdos1 - это точно, это сказал ls в консоли grub.

AlexCones ★★★
() автор топика

И да, с каких пор давать маунтить диски стало несекурно?

Тебе прямо написали: несекурно использовать динамически линкуемую libfuse, поскольку её и подменить могли, а приложение по setuid себе рута берёт молча.

kim-roader ★★
()
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.