ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Andrew Borodin <borodin@zarya-k.ru>
To: ALT Linux Community <community@lists.altlinux.org>
Subject: Re: [Comm] Как разрешить пользователю монтировать диски?
Date: Wed, 11 Jan 2006 13:05:59 +0300
Message-ID: <20060111100559.GA16775@borodin.zarya> (raw)
In-Reply-To: <200601111229.02181.ashen@nsrz.ru>

On Wed, Jan 11, 2006 at 12:29:02PM +0300, Шенцев Алексей Владимирович wrote:
> В сообщении от Среда 11 Январь 2006 13:57 Aleksander N. Gorohovski написал(a):
> > > У меня, например, в /etc/fstab прописано так:
> > > /dev/hda3 /mnt/windows vfat
> > > users,iocharset=koi8-r,umask=0,quiet,showexec,codepage=866 0 0
> > > при этом, если я от пользователя даю команду
> > > #mount /dev/hda3  /mnt/windows ,

> >    ^^^
> > От пользователя или от root?
> Я же написал, что "... при этом, если я от пользователя даю команду
> #mount /dev/hda3  /mnt/windows ..."

Если вы при монтировании указываете и устройство, и точку 
монтирования и при этом больше никаких опций не задаете, то 
обращение к /etc/fstab не происходит и параметры монтирования 
берутся умолчательные. В них входит nouser, поэтому смонтировать 
от обычного пользователя и не удается.

Если же указать либо только устройство, либо только точку 
монтирования, то используется соответствующая запись из fstab.  
Если там есть опция user, то простой сметртный пользователь 
смонтировать сможет.

-- 

С уважением,
А. Бородин.


  reply	other threads:[~2006-01-11 10:05 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-01-11  1:17 denis yatsutko
2006-01-11  5:50 ` Алексей Данилович
2006-01-11  7:02   ` Re[2]: " Denis Yatsutko
2006-01-11  8:32     ` Шенцев Алексей Владимирович
2006-01-11  8:37       ` Serge Polkovnikov
2006-01-11  8:49         ` Шенцев Алексей Владимирович
2006-01-11  6:47           ` Yury Aliaev
2006-01-11  9:04           ` Denis G. Samsonenko
2006-01-11  9:35             ` Шенцев Алексей Владимирович
2006-01-11 15:56               ` Andrey Rahmatullin
2006-01-11 16:46                 ` Nick S. Grechukh
2006-01-11 17:01                   ` [Comm][JT] " Andrey Rahmatullin
2006-01-11  9:02       ` Re[2]: [Comm] " Игорь
2006-01-11 10:57       ` Aleksander N. Gorohovski
2006-01-11  9:29         ` Шенцев Алексей Владимирович
2006-01-11 10:05           ` Andrew Borodin [this message]
2006-01-11 10:12             ` Шенцев Алексей Владимирович
2006-01-12 22:35               ` denis yatsutko
2006-01-11 13:39           ` Aleksander N. Gorohovski
2006-01-11  9:45     ` Re[2]: " Aleksander N. Gorohovski

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=20060111100559.GA16775@borodin.zarya \
    --to=borodin@zarya-k.ru \
    --cc=community@lists.altlinux.org \
    /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