LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 03-06-2008, 03:10 AM   #1
sorvad
Member
 
Registered: Apr 2004
Location: Cumbria, England
Distribution: openSuSE, Red Hat, HP-UX
Posts: 70

Rep: Reputation: 15
Unhappy No permissions on Lacie 120Gb


I have just aquired a Lacie 120Gb external USB drive. It is formatted as FAT32. I want to use it to share info between my WinXP desktop and a project PC running SuSE 10.1 (they are not allowed to be networked).
Its OK on windows, but on SuSE (even logged in as root) it shows up as "Unmounted removeable media", however when I try to mount it or to look at its properties the system comes back with "Permission denied".
I have checked other posts, but nothing seems to quite explain or solve this, can anyone help?
 
Old 03-06-2008, 08:01 AM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
If you do 'fdisk -l' or 'ls -l /dev/disk/by-id/' as root, can you see something that has either "usb" or /dev/sd" in the name?
 
Old 03-06-2008, 08:42 AM   #3
sorvad
Member
 
Registered: Apr 2004
Location: Cumbria, England
Distribution: openSuSE, Red Hat, HP-UX
Posts: 70

Original Poster
Rep: Reputation: 15
Hi - thanks for quick reply.
I got following response...
------------------------------------------------------------------------
ldev3:~ # fdisk -l

Disk /dev/hda: 20.4 GB, 20419854336 bytes
255 heads, 63 sectors/track, 2482 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hda1 1 64 514048+ 82 Linux swap / Solaris
/dev/hda2 * 65 2482 19422585 83 Linux

Disk /dev/sda: 120.0 GB, 120034123776 bytes
255 heads, 63 sectors/track, 14593 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/sda1 1 14593 117218241 c W95 FAT32 (LBA)

ldev3:~ # ls -l /dev/disk/by-id
total 0
lrwxrwxrwx 1 root root 9 Mar 6 08:21 ata-Maxtor_52049H4_K40QNN0C -> ../../hda
lrwxrwxrwx 1 root root 10 Mar 6 08:21 ata-Maxtor_52049H4_K40QNN0C-part1 -> ../../hda1
lrwxrwxrwx 1 root root 10 Mar 6 08:21 ata-Maxtor_52049H4_K40QNN0C-part2 -> ../../hda2
lrwxrwxrwx 1 root root 9 Mar 6 08:21 edd-int13_dev80 -> ../../hda
lrwxrwxrwx 1 root root 10 Mar 6 08:21 edd-int13_dev80-part1 -> ../../hda1
lrwxrwxrwx 1 root root 10 Mar 6 08:21 edd-int13_dev80-part2 -> ../../hda2
lrwxrwxrwx 1 root root 9 Mar 6 14:14 usb-TOSHIBA_MK1237GSX_2C00BF6AFFFF -> ../../sda
lrwxrwxrwx 1 root root 10 Mar 6 14:14 usb-TOSHIBA_MK1237GSX_2C00BF6AFFFF-part1 -> ../../sda1
ldev3:~ #

------------------------------------------------------------------------

Anything there that sheds any light?
 
Old 03-06-2008, 12:09 PM   #4
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Sure. Mounting it manually with something like 'mkdir /mnt/lacie && mount /dev/sda1 -t vfat /mnt/lacie' should work and if it always will reside at "/dev/sda" (meaning you don't attach another USB stick or drive before attaching this one) then adding a line in /etc/fstab fixes it. If you do mount other USB mass storage devices (and its kinda std these days anyway) it should be under control of devlabel (ancient) or Udev (new).
 
Old 03-07-2008, 02:48 AM   #5
sorvad
Member
 
Registered: Apr 2004
Location: Cumbria, England
Distribution: openSuSE, Red Hat, HP-UX
Posts: 70

Original Poster
Rep: Reputation: 15
Question

Thanks that works just fine.
Only slight snag (though it doesn't stop me doing anything) is that I could not create any directories in /mnt (I created my "lacie" directory in /), when i tried to create /mnt the system came back with "permission denied".
I was logged in as root and permissions look ok /mnt permissions are rwx-rxr-x. Could there be some other mechanism at work here that I am not aware of?
 
Old 03-07-2008, 07:38 AM   #6
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Maybe AppArmor?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LACIE Firewire drive Markup Linux - Hardware 1 09-29-2007 02:14 PM
LaCie Lightscribe for Linux mickeyboa Fedora 11 05-24-2007 04:16 PM
Hedhat 8 HD 120gb gtasefir Linux - Newbie 3 04-30-2004 02:20 PM
120GB harddrive zerblat Linux - Hardware 3 01-13-2003 10:21 AM
120GB And Up Will it work? Kryptow Linux - Hardware 2 09-12-2002 06:47 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 11:31 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration