* [Comm] Монтирование FAT-дисков для нескольких пользователей @ 2003-02-08 12:24 Slobodyan Vyacheslav 2003-02-08 19:03 ` Someone Unknown 2003-02-11 15:01 ` [Comm] " Michael Shigorin 0 siblings, 2 replies; 7+ messages in thread From: Slobodyan Vyacheslav @ 2003-02-08 12:24 UTC (permalink / raw) To: ALTLinux Сейчас диски монтируются примерно так: /dev/hda1 /mnt/windows vfat iocharset=koi8-r,codepage=866,fmask=644,uid=500,gid=500,dmask=755 0 0 Пробовал менять gid - всё равно каталог с примонтированным разделом на запись только одному пользователю.. Как сделать так, чтобы писать в примонтированный (от root) раздел могли несколько пользователей? К тому-же нужно ещё расшаривать этот замонтированный раздел, но, думаю, с этим проблем не должно возникнуть.. ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [Comm] Монтирование FAT-дисков для нескольких пользователей 2003-02-08 12:24 [Comm] Монтирование FAT-дисков для нескольких пользователей Slobodyan Vyacheslav @ 2003-02-08 19:03 ` Someone Unknown 2003-02-11 15:29 ` Dmitry E. Oboukhov 2003-02-11 15:01 ` [Comm] " Michael Shigorin 1 sibling, 1 reply; 7+ messages in thread From: Someone Unknown @ 2003-02-08 19:03 UTC (permalink / raw) To: community В сообщении от 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. Далее все пользователи, которым надо разрешить писать на win-раздел, заносятся в группу win. ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [Comm] Монтирование FAT-дисков для нескольких пользователей 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 0 siblings, 2 replies; 7+ messages in thread From: Dmitry E. Oboukhov @ 2003-02-11 15:29 UTC (permalink / raw) To: community 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 ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [Comm] Монтирование FAT-дисков для нескольких пользователей 2003-02-11 15:29 ` Dmitry E. Oboukhov @ 2003-02-13 19:52 ` Someone Unknown 2003-02-22 16:26 ` Vadim V. Zhytnikov 1 sibling, 0 replies; 7+ messages in thread From: Someone Unknown @ 2003-02-13 19:52 UTC (permalink / raw) To: community В сообщении от 11 Февраль 2003 18:29 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 Ну вот такой вот я странный и загадочный... 8))) Давненько не правил fstab, а тут полез - написано "uid". Ну я и пишу, что просили - uid. 8)) ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [Comm] Монтирование FAT-дисков для нескольких пользователей 2003-02-11 15:29 ` Dmitry E. Oboukhov 2003-02-13 19:52 ` Someone Unknown @ 2003-02-22 16:26 ` Vadim V. Zhytnikov 2003-02-26 10:32 ` [Comm] Re[2]: " Sasha Martsinuk 1 sibling, 1 reply; 7+ messages in thread From: Vadim V. Zhytnikov @ 2003-02-22 16:26 UTC (permalink / raw) To: community 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> ^ permalink raw reply [flat|nested] 7+ messages in thread
* [Comm] Re[2]: [Comm] Монтирование FAT-дисков для нескольких пользователей 2003-02-22 16:26 ` Vadim V. Zhytnikov @ 2003-02-26 10:32 ` Sasha Martsinuk 0 siblings, 0 replies; 7+ messages in thread From: Sasha Martsinuk @ 2003-02-26 10:32 UTC (permalink / raw) To: Vadim V. Zhytnikov Здравствуйте, Vadim. Вы писали 22 лютого 2003 р., 18:26:13: VVZ> 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 У меня чего-то fmask и dmask не работают... И ффсе файлы на FAT-разделах отмечены, как выполняемые. Но я в fstab запретил вывполние noexec. Неудобно просто. >>> >>> У меня сделано вот так: >>> >>> /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 >> Может даффайте выработаем ккое-то общее решение насчёт монтирования FAT-разделов? Нужно именно запись в fstab. Дам примерную ориентировку: drwxrwxrwx -date- directory -rw-rw-rw- -date- file Или может можно научить Линукс понимать досовский атрибут "только для чтения"? -- С уважением, Sasha mailto:kulibin@ukr.net ^ permalink raw reply [flat|nested] 7+ messages in thread
* [Comm] Re: Монтирование FAT-дисков для нескольких пользователей 2003-02-08 12:24 [Comm] Монтирование FAT-дисков для нескольких пользователей Slobodyan Vyacheslav 2003-02-08 19:03 ` Someone Unknown @ 2003-02-11 15:01 ` Michael Shigorin 1 sibling, 0 replies; 7+ messages in thread From: Michael Shigorin @ 2003-02-11 15:01 UTC (permalink / raw) To: ALTLinux On Sat, Feb 08, 2003 at 03:24:26PM +0300, Slobodyan Vyacheslav wrote: > iocharset=koi8-r,codepage=866,fmask=644,uid=500,gid=500,dmask=755 0 0 ^^^ ^^^ почитайте про юниксовые права -- например, в man chmod или у Немет :) -- ---- WBR, Michael Shigorin <mike@altlinux.ru> ------ Linux.Kiev http://www.linux.kiev.ua/ ^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2003-02-26 10:32 UTC | newest] Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2003-02-08 12:24 [Comm] Монтирование FAT-дисков для нескольких пользователей 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 2003-02-26 10:32 ` [Comm] Re[2]: " Sasha Martsinuk 2003-02-11 15:01 ` [Comm] " Michael Shigorin
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