lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4A1C1A79.2020500@s5r6.in-berlin.de>
Date:	Tue, 26 May 2009 18:36:09 +0200
From:	Stefan Richter <stefanr@...6.in-berlin.de>
To:	Rogério Brito <rbrito@...rs.sf.net>
CC:	Alan Stern <stern@...land.harvard.edu>,
	linux-kernel@...r.kernel.org, linux-usb@...r.kernel.org
Subject: Re: Question on the removable flag of USB devices

Matthew Dharm wrote:
> On Mon, May 25, 2009 at 01:45:54PM -0300, Rogério Brito wrote:
>> The question is: how are devices determined to be removable or not?
>> Sorry if this question is too naive.
> 
> It's a bit that the device reports.  The usb-storage driver passes this bit
> to the SCSI layer.

Wasn't this bit actually about removable _media_ rather than
hotpluggable transports?  (I.e. hardware where you can pull the medium
out of the drive mechanism.)  So in this sense, an USB attached HDD
should actually not present itself as "removable" unless it's a SyQuest
or Zip or something like that.

Furthermore, if that's what the discussed bit stands for, than it is
rather arbitrary to base a policy on it whether a volume may be mounted
by non-root users or not.

Rogério, perhaps static fstab entries based on /dev/disk/by-id/... can help.
-- 
Stefan Richter
-=====-==--= -=-= ==-=-
http://arcgraph.de/sr/
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ