From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from <gentoo-user+bounces-68860-garchives=archives.gentoo.org@gentoo.org>) id 1IRQl3-0008T2-22 for garchives@archives.gentoo.org; Sat, 01 Sep 2007 11:03:17 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.14.0/8.14.0) with SMTP id l81Atw1T006467; Sat, 1 Sep 2007 10:55:58 GMT Received: from wx-out-0506.google.com (wx-out-0506.google.com [66.249.82.229]) by robin.gentoo.org (8.14.0/8.14.0) with ESMTP id l81AplSR001724 for <gentoo-user@lists.gentoo.org>; Sat, 1 Sep 2007 10:51:47 GMT Received: by wx-out-0506.google.com with SMTP id h30so1774510wxd for <gentoo-user@lists.gentoo.org>; Sat, 01 Sep 2007 03:51:47 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:reply-to:user-agent:mime-version:to:subject:references:in-reply-to:x-enigmail-version:content-type:content-transfer-encoding; b=rWQshjZqkooPLiRWRHA4ACj9W4X8g1ksK4uRiiLaLg5P0Xfy5NpgGaqncrhti9f4z49btFRVPz/PXjx2ffIIc7UAa4ZRcpVs2d2GkHPRWnrZw08RyIkFDA063E7U77ddgXyKd9nxf4xRWuoRRywR6//7aWFPyIOvyqzUaK/u/o4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:reply-to:user-agent:mime-version:to:subject:references:in-reply-to:x-enigmail-version:content-type:content-transfer-encoding; b=SVlSVm54ekewap8iX/uxNk5e9cV6PVJl9SFFCVjKwRh1z5A1J6NlycfHg1+i/gVMAEFnl3kQmagUhXmoVgO0CXoKXcV1O53Xl5bCBCtBZZQKUbrITfPRpjwFkkC/WNktWmrN/H7H3e28PrLJou4S7qjS6hGpkUY6zU2P5yPxpWY= Received: by 10.70.115.17 with SMTP id n17mr4349142wxc.1188643906071; Sat, 01 Sep 2007 03:51:46 -0700 (PDT) Received: from ?192.168.0.104? ( [68.112.228.58]) by mx.google.com with ESMTPS id q57sm589363wrq.2007.09.01.03.51.43 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sat, 01 Sep 2007 03:51:44 -0700 (PDT) Message-ID: <46D9443C.9050002@gmail.com> Date: Sat, 01 Sep 2007 06:51:40 -0400 From: Eric Martin <freak4uxxx@gmail.com> User-Agent: Thunderbird 2.0.0.6 (X11/20070810) Precedence: bulk List-Post: <mailto:gentoo-user@lists.gentoo.org> List-Help: <mailto:gentoo-user+help@gentoo.org> List-Unsubscribe: <mailto:gentoo-user+unsubscribe@gentoo.org> List-Subscribe: <mailto:gentoo-user+subscribe@gentoo.org> List-Id: Gentoo Linux mail <gentoo-user.gentoo.org> X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] HAL: how to prohibit mounting certain partitions References: <f6fdfb550709010054p41852156g858e716ed5a925b1@mail.gmail.com> <200709010928.02233.michaelkintzios@gmail.com> In-Reply-To: <200709010928.02233.michaelkintzios@gmail.com> X-Enigmail-Version: 0.95.3 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Archives-Salt: c512a8c5-e2b9-4809-8275-b71ce24e15f3 X-Archives-Hash: f1a7d077e4aae08b75c045cda493b2bf -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Mick wrote: > On Saturday 01 September 2007, Vladimir Rusinov wrote: >> (I have not get help in native language list :(. And, sorry for my English) > > No worries. :) > >> I have windows & Linux installed on the same hard disk. >> In Linux I've set up KDE + hal. It allows users to mount any removable >> devices, and also windows partition. >> I don't wanna to disable ntfs in kernel, but I don't want to users be able >> to mount windows partition (that's a security issue). >> So, how can I prohibit hal to mount /dev/sda*? > > Try entering the respective partition in /etc/fstab as noauto and mountable > only by e.g. root, or a suitable group id. > > Hope this helps. Also, IIRC NTFS by default mounts 500 root root. you have to change it via the mount command to get anything different. eg. mount /dev/sda1 /mnt/ntfs -o gid=users,umask=0227 If you'd like R/W acccess to it you need to emerge captive-ntfs, I did a search and all I can find is ntfs-3g. Does anyone know if captive turned into this? I did a quick search on the webpage and couldn't find anything. Also, you'll need FUSE w/both. Eric -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFG2UQ8aiVxdKlBO58RAtp3AJ416hkmdL3ST+pPxqW7TPLAJjjm4ACcCQoo iBTgUjMq5qURoHvlqSZIyR8= =ksFR -----END PGP SIGNATURE----- -- gentoo-user@gentoo.org mailing list