Mounting an encrypted volume presents the volume to all users on a machine

nodata lsof at nodata.co.uk
Tue Oct 26 14:57:56 UTC 2010


On 26/10/10 16:11, Andrew Haley wrote:
> On 10/26/2010 02:44 PM, Matthew Garrett wrote:
>> On Tue, Oct 26, 2010 at 12:28:55AM +0200, nodata wrote:
>>
>>> What I am concerned about is that the volume is mounted for _every_ user
>>> on the system to see.
>>
>> Only if the permissions are set that way. chmod 0750 /whatever and it
>> won't be.
>
> On my system an auto-mounted exchangeable volume always seems to be 0700.
>
> Andrew.

Really? Any chance of a copy-paste?

This is what I get:

$ ls -la /media/
total 12
drwxr-xr-x.  3 root root 4096 Oct 26 16:51 .
dr-xr-xr-x. 24 root root 4096 Oct 26 16:51 ..
drwxr-xr-x.  4 root root 4096 Oct 23 17:40 WESTERNDIGITAL



More information about the devel mailing list