* [sisyphus] А что у нас с клиентой самбы?
@ 2015-12-12 15:47 ruslandh
0 siblings, 0 replies; only message in thread
From: ruslandh @ 2015-12-12 15:47 UTC (permalink / raw)
To: sisyphus
[-- Attachment #1: Type: text/plain, Size: 735 bytes --]
Пытаюсь по самбе подключится к расшаренному ресурсу на роутере:
/etc/fstab:
//192.168.2.1/writer /mnt/Stan/Arhiv_L cifs
noauto,credentials=/etc/samba/sambacreds,nofail.uid=writer,gid=writer,users
0 0
$ mount /mnt/Stan/Arhiv_L/
This program is not installed setuid root - "user" CIFS mounts
not supported.
Ставлю суидный бит на /sbin/mount.cifs
$ mount /mnt/Stan/Arhiv_L/
error 13 (Permission denied) opening credential
file /etc/samba/sambacreds
$ ls -l /etc/samba/sambacreds
-rw-r----- 1 root root 30 дек 12 12:44 /etc/samba/sambacreds
(600 тем более).
От пользователя монтируется, толькр если /etc/samba/sambacreds
доступен всем на чтение, и зачем тогда
этот /etc/samba/sambacreds ?
--
С уважением Хихин Руслан
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 181 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2015-12-12 15:47 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-12-12 15:47 [sisyphus] А что у нас с клиентой самбы? ruslandh
ALT Linux Sisyphus discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
public-inbox-index sisyphus
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.sisyphus
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git