Mounting an encrypted volume presents the volume to all users on a machine
Andrew Haley
aph at redhat.com
Tue Oct 26 17:01:11 UTC 2010
On 10/26/2010 05:14 PM, Vaclav Mocek wrote:
> On 10/26/2010 03:57 PM, nodata wrote:
>> 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.
>>>
>> 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
>>
>>
> Exactly. It is 0755.
$ ls -la /media
total 16
drwxr-xr-x. 3 root root 4096 2010-10-26 17:56 ./
dr-xr-xr-x. 28 root root 4096 2010-09-16 04:24 ../
drwx------. 2 aph aph 8192 1970-01-01 01:00 C0C1-215C/
Ahh, I think I may know why: it's a DOS filesystem. Sorry for
the noise.
And yes, I agree. 0755 makes no sense to me.
Andrew.
More information about the devel
mailing list