ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: "Алексей Синицын" <asinitsinster@gmail.com>
To: sp_archer@meta.ua,
	"ALT Linux Community general discussions"
	<community@lists.altlinux.org>
Subject: Re: [Comm] mount при login, umount при logout
Date: Thu, 4 Oct 2007 18:17:09 +0400
Message-ID: <a1b0b2150710040717i4dae6dd3p12a4452864e3e039@mail.gmail.com> (raw)
In-Reply-To: <56045.194.44.242.194.1191507175.metamail@webmail.meta.ua>

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

 В зависимости от среды. В KDE, в частности, если не ошибаюсь, должно
сработать то что лежит в каталоге ~/.kde/shutdown/ (где прочел про это
не помню и как работает не проверял).

  reply	other threads:[~2007-10-04 14:17 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-10-04 14:12 Olexander Chernetskyy
2007-10-04 14:17 ` Алексей Синицын [this message]
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

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=a1b0b2150710040717i4dae6dd3p12a4452864e3e039@mail.gmail.com \
    --to=asinitsinster@gmail.com \
    --cc=community@lists.altlinux.org \
    --cc=sp_archer@meta.ua \
    /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