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

Re: USB key accepts data only as root



On 04/26/2010 02:14 AM, Merciadri Luca wrote:
-----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.


We need to see what it looks like when you are bog standard merciadriluca.

--
Dissent is patriotic, remember?


Reply to: