Mount.cifs broken [Solved]

View previous topic :: View next topic  Back to top

Tux’s lil’ helper

The command is part of the util-linux package. In Gentoo Linux, sys-apps/util-linux is part of the system set and is installed on all Gentoo systems by default.

If for some strange and unordinary reason it is missing it can be re-installed by running a simple command (always use the —oneshot option). This can also be used after changing USE flags:

root emerge —ask —oneshot sys-apps/util-linux

Mounting removable media

See the relevant section in the Removable media article.

The solution is to use sudo mount /home/larry/winmount in combination with a corresponding entry in to allow passwordless mounting.

WarningBe sure to understand the sudo configuration before editing the file!

After some googling around, someone talked about this and provided a ‘solution’ which is: add the setuid bit to /sbin/mount.cifs.

One can do that running:

#chmod u+s /sbin/mount.cifs

Then run the mount command again and everything probably will go fine.

Twenty minutes searching.

4 or 5 commands.

I don’t care, i maybe like things this way, but others do care about it.

But isn’t it too much stuff only to have Flash working on Firefox?

Para instalar o skype em máquinas Red Hat Like com processadores 64bits é preciso instalar algumas bibliotecas 32bits.

Bibliotecas (via yum):

yum install libXv.i686*

yum install libXScrnSaver.i686*

yum install qt.i686

yum install qt-x11*.i686

yum install libsigc++ libsigc++.i686 qt.i686 qt

Agora para instalar o skype utilize o RPM disponível no site 😉

Дополнительно:  Root Samsung Galaxy Note 3 SM-N900

The latest version(TODO:write version number) of XFCE in the ArchLinux repos come with a little annoying problem in shutdown/reboot actions performed through the shutdown applet. When click on Shutdown/Reboot XFCE bring up this message:

Unable to perform Shutdown
org.freedesktop.hal.power-management.shutdown no

(or something like it)

i find the solution to this problem quickly in google, source sites:

But i’ll list it here:

1. Edit the file /etc/PolicyKit/PolicyKit.conf

This did work for years, with fstab remaining unchanged. I have been patching (this is openSUSE Leap 15.3) so I’m wondering if something has been broken or deprecated. If there’s no obvious answer, how best do I troubleshoot this?

What am I missing?

Thanks in advance.

mount cifs can only be run as root

It will run OK if I sudo

But with the same end result, we’re mounted as root

Which runs successfully

# sudo mount -a

But still mounts as root

A partial solution.

Adding forceuid and forcegid fixes the ownership but I can’t set the mode, even with file_mode and dir_mode:

root mount —help

Show mounted filesystems by running the mount command with no arguments or options:

For further details, see man 8 mount.

root mkdir /media/usb

root mount /dev/sdb1 /media/usb

TipA mount from fstab may by mounted by providing just the mountpoint, or device name, for example:

Unmount a filesystem

To unmount a filesystem, the device file or the mount point can be specified:

Sometimes, mounting a filesystem requires special options:

The filesystem being used must support the mount option being passed. Many options are common, but some are filesystem specific.

NoteIt is advised to always consult man pages of both and the particular filesystem (for example or ).

Дополнительно:  Приложение для проверки root прав

Mount options of already-mounted filesystems can be changed using remount option. For example, setting a filesystem on to be mounted as read-write can be achieved using:

root mount -o remount,rw /dev/foo /dir

Ошибка при копировании в примонтированную папку

Сообщения: 21Зарегистрирован: 01 май 2013, 22:17Operating system: Rosa R10 Plasma 64Откуда: Пенза
Контактная информация:

Сообщения: 1254Зарегистрирован: 06 май 2012, 21:00

Barkley писал(а): ↑

27 фев 2019, 14:13

//deb1c83/Obmen /home/stas/ cifs ,password=,rw,,file_mode=0777,dir_mode=0777,iocharset=utf8 0 0

Код: Выделить всё

и остальные опции из

28 фев 2019, 12:43

27 фев 2019, 20:37

Так выдает ошибку » При обращении к «Obmen на deb1c83» произошла ошибка, ответ системы: mount: only root can mount //deb1c83/Obmen on /home/stas/mntcifs»

01 мар 2019, 09:50

28 фев 2019, 16:09

Сообщения: 897Зарегистрирован: 18 авг 2017, 10:50Operating system: MATE в релизе R10Откуда: Уфа Омск

01 мар 2019, 09:56

Найдено 20 результатов

29 июл 2015, 08:28Форум: СерверТема: RELS и 1С 8.3Ответы: 16Просмотры: 16741

RELS и 1С 8

Yamah писал(а):
Остальное, настраивал специалист поддержки 1С по инструкции для партнеров 1С. Не из публичного доступа. (Меня к ней тоже не подпустили). И пакеты 1С не из общедоступных мест.

Странно все это. «Не из общедоступных мест»- т.е. не с сайта 1с ?

28 июл 2015, 06:03Форум: СерверТема: RELS и 1С 8.3Ответы: 16Просмотры: 16741

26 июл 2015, 13:15Форум: СерверТема: RELS и 1С 8.3Ответы: 16Просмотры: 16741

Пробовал пакеты с оф.сайта 1с 9.2 и 9.3. Не пропускает установку из-за зависимостей. В rpm есть команда типа как в Ubuntu — apt-get -f install, а то там целый большой список зависимостей, по одному замучаешься выцыпать?

26 июл 2015, 08:12Форум: СерверТема: RELS и 1С 8.3Ответы: 16Просмотры: 16741

Дополнительно:  Ноутбук не выключается после Завершения работы, что делать? 💻
Оцените статью
Master Hi-technology
Добавить комментарий