Mailinglist Archive: opensuse (4547 mails)

< Previous Next >
Re: [SLE] How would you like hotplugged USB drive mounting to work?
  • From: Chris Carlen <crcarle@xxxxxxxxxx>
  • Date: Tue, 25 May 2004 16:57:31 -0700
  • Message-id: <40B3DD6B.2050101@xxxxxxxxxx>
Tims Suse List wrote:
On Tue, 2004-05-25 at 16:26, Chris Carlen wrote:


This is very peculiar. I can read and write mine. Can you plug your in, then show the text resulting from the commands:
> ls -l /media


total 5
drwxr-xr-x 6 root root 208 2004-05-25 17:14 .
drwxr-xr-x 23 root root 568 2004-05-25 17:14 ..
drwxrwxrwx 1 root root 0 2004-05-22 22:19 cdrecorder
drwxrwxrwx 1 root root 0 2004-05-22 22:19 dvd
drwxrwxrwx 1 root root 0 2004-05-22 22:19 floppy
-rw-r--r-- 1 root root 402 2004-05-25 17:14 lsmedia.txt
drwxrwxrwx 1 root root 0 2004-05-23 18:18
usb-storage-681146645994:0:0:3p1


...

> cd /media
> ls -l



total 5
drwxr-xr-x 6 root root 208 2004-05-25 17:14 .
drwxr-xr-x 23 root root 568 2004-05-25 17:14 ..
drwxrwxrwx 1 root root 0 2004-05-22 22:19 cdrecorder
drwxrwxrwx 1 root root 0 2004-05-22 22:19 dvd
drwxrwxrwx 1 root root 0 2004-05-22 22:19 floppy
-rw-r--r-- 1 root root 402 2004-05-25 17:14 lsmedia.txt
drwxrwxrwx 1 root root 0 2004-05-23 18:18
usb-storage-681146645994:0:0:3p1


Look at this, which I think is extremely strange, and different from yours:

user1@mango2:~> l /media
total 8
drwxr-xr-x 2 root root 4096 2004-05-12 10:19 cdrecorder
drwxr-xr-x 2 root root 4096 2004-05-12 10:19 floppy
drwxrwxrwx 1 root root 0 2004-05-24 13:28 usb-storage-odd-ProlificTechnologyInc-USBMassStorageDevice:0:0:0p1

user1@mango2:~> cd /media
user1@mango2:/media> l
total 32
drwxr-xr-x 5 root root 4096 2004-05-24 13:05 ./
drwxr-xr-x 21 root root 4096 2004-05-24 06:01 ../
drwxr-xr-x 2 root root 4096 2004-05-12 10:19 cdrecorder/
drwxr-xr-x 2 root root 4096 2004-05-12 10:19 floppy/
drwxr-xr-x 7 user1 users 8192 1969-12-31 16:00 usb-storage-odd-ProlificTechnologyInc-USBMassStorageDevice:0:0:0p1/
user1@mango2:/media>

Notice that when I *log in* to the directory /media, that the ls shows different ownership for the device mount point than when I ls /media from somewhere else in the tree.

I can't explain this.

But it might not even be the real issue. Another thing to consider is whether you are actually the same userid (the *numerical uid* not the username associated with the uid) on the two different machines you are transfering from.

cat /etc/passwd to see what your uids are.

Just a possiblity.


Good luck.




--
____________________________________
Christopher R. Carlen
Principal Laser/Optical Technologist
Sandia National Laboratories CA USA
crcarle@xxxxxxxxxx


< Previous Next >