[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: USB key accepts data only as root



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Lisi <lisi.reisz@gmail.com> writes:

> On Sunday 25 April 2010 21:06:14 Merciadri Luca wrote:
>> Ron Johnson <ron.l.johnson@cox.net> writes:
>> > On 04/25/2010 02:47 PM, Merciadri Luca wrote:
>> >> Ron Johnson wrote:
>> >>> Not enough information.
>> >>
>> >> Sorry.
>> >>
>> >>> Automounted from a DE, or manually from the CLI?
>> >>
>> >> Automounted, but the related folder is still there (in /media/) even
>> >> when the USB key is disconnected.
>> >>
>> >>> What are the ownership and privs on the mount point?  And the raw
>> >>> device?
>> >>
>> >> ==
>> >> /media# ls -al
>> >> total 28
>> >> drwxrwxrwx  6 root root 4096 2010-04-25 13:26 .
>> >> drwxr-xr-x 23 root root 4096 2010-01-27 11:13 ..
>> >> drwxr-xr-x  3 root root 4096 2009-09-04 19:30 disk
>> >> drwxr-xr-x  3 root root 4096 2010-04-25 13:30 disk-1
>> >> lrwxrwxrwx  1 root root    7 2009-07-17 17:01 floppy ->  floppy0
>> >> drwxr-xr-x  2 root root 4096 2009-07-17 17:01 floppy0
>> >> -rw-r--r--  1 root root  299 2010-04-25 13:26 .hal-mtab
>> >> -rw-------  1 root root    0 2010-04-25 09:31 .hal-mtab-lock
>> >> drwx------  2 root root 4096 2009-08-29 22:20 KUBUNTU_LAPTOP22
>> >> ==
>> >>
>> >> It happens for every removable disk, actually. The raw device is
>> >> /dev/sde1:
>> >>
>> >> ==
>> >> # ls -al | grep sde
>> >> brw-rw----  1 root floppy    8,  64 2010-04-25 21:45 sde
>> >> brw-rw----  1 root floppy    8,  65 2010-04-25 21:45 sde1
>> >> ==
>> >
>> > $ echo $USER
>> > me
>>
>> $ echo $USER
>> merciadriluca
>>
>> > $ dir /media | grep CENTON
>> > drwxr-xr-x  2 me   root 4096 1969-12-31 18:00:00 CENTON USB/
>> >
>> > ~$ dir /dev/sdh
>> > brw-rw---- 1 root floppy 8, 112 2010-04-22 16:19:48 /dev/sdh
>> >
>> > You wouldn't happen to be logged in as root, would you?
>
> <quote> /media# ls -al </quote>  (from previous email from Merciadri)
>
> At this point you obviously are root, even tho' you will not have been able to 
> log-in as root.  ?????????
I did not start _a root session_ but I did `su', okay. But I need to
do this. If I do not do this, I do not have access to the removable
devices which are connected through USB.

- -- 
Merciadri Luca
See http://www.student.montefiore.ulg.ac.be/~merciadri/
- -- 

Nobody leaves us, we only leave others.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Processed by Mailcrypt 3.5.8 <http://mailcrypt.sourceforge.net/>

iEYEARECAAYFAkvVPUIACgkQM0LLzLt8MhzfuQCgke6OIp/EZywUEFKx0UKm+ffD
TCoAni2aoNCPTibA5myjLsln5Xg6C+C9
=xht+
-----END PGP SIGNATURE-----


Reply to: