ALT Linux Community general discussions
 help / color / mirror / Atom feed
* [Comm] /etc/fstab&mount
@ 2004-01-16  8:34 Krasavin Andrey
  2004-01-16  9:57 ` Guzaev Pavel
  0 siblings, 1 reply; 2+ messages in thread
From: Krasavin Andrey @ 2004-01-16  8:34 UTC (permalink / raw)
  To: Community

Добрый день!

Ситуация такая: есть в /etc/fstab такая строка:

//NEO/Notes /mnt/Notes smbfs 
user,ip=192.168.1.2,iocharset=koi8-r,umask=0,codepage=866,rw,username=krasand,password=password 
0 0

до монтирования права на /mnt/Notes такие:

drwxrwxrwx    2 root     root         4096 Jan 16 11:18 Notes/

После монтирования:

drwx------    1 root     root         4096 Aug 19 15:55 Notes/

и соответственно простому юзверю этот каталог не доступен :(.

Где надо поправить чтобы права на каталог сохранялись?

ЗЫ. Только сейчас заметил, что и даты создания разные :(. 
Объясните, пожалуйста, почему так?



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [Comm] /etc/fstab&mount
  2004-01-16  8:34 [Comm] /etc/fstab&mount Krasavin Andrey
@ 2004-01-16  9:57 ` Guzaev Pavel
  0 siblings, 0 replies; 2+ messages in thread
From: Guzaev Pavel @ 2004-01-16  9:57 UTC (permalink / raw)
  To: community

В сообщении от 16 Январь 2004 13:34 Krasavin Andrey написал(a):
> Добрый день!
>
> Ситуация такая: есть в /etc/fstab такая строка:
>
> //NEO/Notes /mnt/Notes smbfs
> user,ip=192.168.1.2,iocharset=koi8-r,umask=0,codepage=866,rw,username=krasa
>nd,password=password 0 0

добавь еще параметр uid=user_name (имя пользователя которому разрешен доступ)

>
> до монтирования права на /mnt/Notes такие:
>
> drwxrwxrwx    2 root     root         4096 Jan 16 11:18 Notes/
>
> После монтирования:
>
> drwx------    1 root     root         4096 Aug 19 15:55 Notes/
>
> и соответственно простому юзверю этот каталог не доступен :(.
>
> Где надо поправить чтобы права на каталог сохранялись?

Права на каталог тут не при чем... это самба в целях безопасности на 
примонтированную директорию права по умолчанию так устанавливает.

>
> ЗЫ. Только сейчас заметил, что и даты создания разные :(.
> Объясните, пожалуйста, почему так?


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-01-16  9:57 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-01-16  8:34 [Comm] /etc/fstab&mount Krasavin Andrey
2004-01-16  9:57 ` Guzaev Pavel

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