ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: "Michael A. Kangin" <mak@complife.ru>
To: sp_archer@meta.ua,
	ALT Linux Community general discussions
	<community@lists.altlinux.org>
Subject: Re: [Comm] ALT5. Монтирование флешек и CD/DVD
Date: Wed, 8 Jul 2009 16:32:23 +0400
Message-ID: <200907081632.23399.mak@complife.ru> (raw)
In-Reply-To: <49257.194.44.242.194.1247049563.metamail@webmail.meta.ua>

On Среда 08 июля 2009 14:39:23 Olexander Chernetskyy wrote:


> $ cat /proc/mounts
> /dev/sdc1 /media/FlashKa-8GB fuseblk
> rw,nosuid,nodev,user_id=0,group_id=0,default_permissions,allow_other,blksiz
>e=4096 0 0
> /dev/sdd1 /media/FLASHKA-1GB vfat
> rw,nosuid,nodev,uid=502,fmask=0077,dmask=0077,codepage=cp866,iocharset=utf8
>,shortname=mixed,utf8 0 0

Ну вот, монтирующая программа откуда-то берёт аргументы fmask=0077,dmask=0077. 
Можно попробовать сотворить файл /etc/hal/fdi/policy/99-my-ntfs3g-options c 
таким вот примерно содержимым:

--------------------------------
<?xml version="1.0" encoding="UTF-8"?>
<deviceinfo version="0.2">

  <device>
    <match key="volume.fstype" string="ntfs">
	<merge key="volume.policy.mount_option.umask=0111" type="bool">true</merge>
	<merge key="volume.policy.mount_option.dmask=0000" type="bool">true</merge>
    </match>
  </device>

</deviceinfo>
--------------------------------`

Авось поможет.

-- 
WBR, Michael A. Kangin


  reply	other threads:[~2009-07-08 12:32 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-07-05 17:19 Olexander Chernetskyy
2009-07-06  9:06 ` Michael A. Kangin
2009-07-06 11:02   ` Olexander Chernetskyy
2009-07-06 15:39     ` Michael A. Kangin
2009-07-06 18:42       ` Olexander Chernetskyy
2009-07-08  9:08         ` Michael A. Kangin
2009-07-08 10:39           ` Olexander Chernetskyy
2009-07-08 12:32             ` Michael A. Kangin [this message]
2009-07-08 13:35               ` Olexander Chernetskyy
2009-07-08 14:20                 ` Michael A. Kangin
2009-07-08 14:55                   ` Maks Re
2009-07-08 15:10                   ` Olexander Chernetskyy

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=200907081632.23399.mak@complife.ru \
    --to=mak@complife.ru \
    --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