ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Aleksey Deryagin <deryagin@immo.ru>
To: evgeny.yugov@gmail.com,
	 ALT Linux Community general discussions
	<community@lists.altlinux.org>
Subject: Re: [Comm] mount.cifs
Date: Wed, 05 Mar 2008 09:09:49 +0300
Message-ID: <47CE392D.1010904@immo.ru> (raw)
In-Reply-To: <47CE10EF.1060103@gmail.com>

> Как это Вы умудряетесь запустить из под "обычного" пользователя что-то 
> из /sbin ?
Без понятия.
Вообще я правил /etc/sudoers по ману для suse, но что-то не покатило 
(ругалось на синтаксис), закомментировал обратно.
Но тут уже ответили на данный вопрос.


> Права после монтирования какие?
Вот, здесь интереснее. Права на папку ставятся удалённого юзера.
То есть я монтирую как 500/500, а потом имею права 1074/1011, то есть 
это МОИ права, но на удалённой машине. Вот поэтому 500/500 и не может 
зайти... как бы это пофиксить.

> Что говорит:
> $ cat /proc/fs/cifs/LinuxExtensionsEnabled
1

>> Уважаемые, как правильно примонтировать обычным пользователем 
>> расшаренный ресурс?
>>
>> Поискал по инету, пробую обычным юзером (500/500):
>> /sbin/mount.cifs  //10.192.168.224/myhome /mnt/dev -o 
>> rw,file_mode=0644,dir_mode=0755,uid=500,gid=500,user=IMMO/deryagin%...
>>
>> Ресурс монтируется, но зайти я туда могу только рутом.
>>
> 


-- 
С уважением, Алексей Дерягин



  parent reply	other threads:[~2008-03-05  6:09 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-03-04 11:42 Aleksey Deryagin
2008-03-04 11:57 ` Andrew Borodin
2008-03-04 12:24   ` Aleksey Deryagin
2008-03-04 12:38   ` Шишков Евгений
2008-03-05  3:18 ` Evgeny Yugov
2008-03-05  6:06   ` Andrew Borodin
2008-03-05  6:09   ` Aleksey Deryagin [this message]
2008-03-05 12:12     ` Evgeny Yugov
2008-03-05 12:16       ` Aleksey Deryagin
2008-03-11  5:26         ` Alexey Novikov
2008-03-11 14:40           ` Aleksey Deryagin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=47CE392D.1010904@immo.ru \
    --to=deryagin@immo.ru \
    --cc=community@lists.altlinux.org \
    --cc=evgeny.yugov@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/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 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git