ALT Linux Community general discussions
 help / color / mirror / Atom feed
* [Comm] mount  при login, umount  при logout
@ 2007-10-04 14:12 Olexander Chernetskyy
  2007-10-04 14:17 ` Алексей Синицын
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Olexander Chernetskyy @ 2007-10-04 14:12 UTC (permalink / raw)
  To: community

Вообщем так.

В fstab есть строка для ntfs-тома с опциями user,noauto.
У каждого юзверя в ~/.kde/Autostart лежит скрипт, который монтирует этот том.
Логинится юзер1. Всё хорошо. Читает, пишет...
Потом юзер1 заканчивает работу и логинится юзер2. И тут - опаньки! Том
остается примонтирован с правами юзеря1. И при копировании на него
получаем ругань "Не могу сменить (не помню чего)". И файл штампуется датой
копирования, что очень плохо и даже вредно. umount требует рута, и ни на
что другое не соглашается.

Вопрос. Как сделать umount этого тома когда юзер заканчивает работу?

-- 
Best regards,
ArCher




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

end of thread, other threads:[~2007-10-09 18:37 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-10-04 14:12 [Comm] mount при login, umount при logout Olexander Chernetskyy
2007-10-04 14:17 ` Алексей Синицын
2007-10-04 14:22 ` Алексей Шенцев
2007-10-04 19:56 ` Michael Shigorin
2007-10-08  9:48   ` Olexander Chernetskyy
2007-10-09 18:37     ` 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