ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: "Vadim V. Zhytnikov" <vvzhy@netorn.ru>
To: community@altlinux.ru
Subject: Re: [Comm] Монтирование FAT-дисков для нескольких пользователей
Date: Sat, 22 Feb 2003 19:26:13 +0300
Message-ID: <3E57A4A5.8030306@netorn.ru> (raw)
In-Reply-To: <3E4916F5.4030103@avanto.mpei.ac.ru>

Dmitry E. Oboukhov пишет:
> Someone Unknown wrote:
> 
>> В сообщении от 8 Февраль 2003 15:24 Slobodyan Vyacheslav написал:
>>
>>> Сейчас диски монтируются примерно так:
>>>
>>> /dev/hda1 /mnt/windows vfat
>>> iocharset=koi8-r,codepage=866,fmask=644,uid=500,gid=500,dmask=755 0 0
>>>
>>> Пробовал менять gid - всё равно каталог с примонтированным разделом
>>> на запись только одному пользователю.. Как сделать так, чтобы писать
>>> в примонтированный (от root) раздел могли несколько пользователей? К
>>> тому-же нужно ещё расшаривать этот замонтированный раздел, но, думаю,
>>> с этим проблем не должно возникнуть..
>>
>>
>>
>>
>> У меня сделано вот так:
>>
>> /dev/hda1       /mnt/windows    vfat            
>> user,uid=510,gid=510,noexec,umask=0002,codepage=866,iocharset=koi8-r,quiet 
>>
>>
>> где uid=510,gid=510 - это пользователь win.
>>
> а зачем так?
> я например пишу
> gid=windows,uid=root,umask=007,codepage=866,iocharset=koi8-r,noexec
> и не знаю какой у кого UID
> 

Давно меня мучает вопрос.  Как сделать чтобы при записи
файлов обычным пользователем в такой vfat раздел
сохранялось время создания файла?

-- 
      Vadim V. Zhytnikov

       <vvzhy@mail.ru>
      <vvzhy@netorn.ru>




  parent reply	other threads:[~2003-02-22 16:26 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-02-08 12:24 Slobodyan Vyacheslav
2003-02-08 19:03 ` Someone Unknown
2003-02-11 15:29   ` Dmitry E. Oboukhov
2003-02-13 19:52     ` Someone Unknown
2003-02-22 16:26     ` Vadim V. Zhytnikov [this message]
2003-02-26 10:32       ` [Comm] Re[2]: " Sasha Martsinuk
2003-02-11 15:01 ` [Comm] " Michael Shigorin

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=3E57A4A5.8030306@netorn.ru \
    --to=vvzhy@netorn.ru \
    --cc=community@altlinux.ru \
    /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