LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices

Reply
 
Search this Thread
Old 09-28-2010, 03:04 AM   #1
X.Cyclop
Member
 
Registered: Jun 2006
Location: Tlv
Distribution: Arch!
Posts: 120

Rep: Reputation: 21
Exclamation read-only USB (cellphone)


I'm trying to copy some files into my cellphone (nokia xpressm 5630) via USB (mass storage) but it mounts as read-only so i'm not able to do it.

(Ubuntu 10.4 - kernel 2.6.32-25-generic)

Any way to solve this?


/var/log/messages
Quote:
Sep 28 09:54:04 leo-laptop kernel: [ 1814.248195] usb 1-3: new high speed USB device using ehci_hcd and address 2
Sep 28 09:54:04 leo-laptop kernel: [ 1814.381216] usb 1-3: configuration #1 chosen from 1 choice
Sep 28 09:54:04 leo-laptop kernel: [ 1814.908516] Initializing USB Mass Storage driver...
Sep 28 09:54:04 leo-laptop kernel: [ 1814.908646] scsi2 : SCSI emulation for USB Mass Storage devices
Sep 28 09:54:04 leo-laptop kernel: [ 1814.908741] usbcore: registered new interface driver usb-storage
Sep 28 09:54:04 leo-laptop kernel: [ 1814.908744] USB Mass Storage support registered.
Sep 28 09:54:09 leo-laptop kernel: [ 1819.909115] scsi 2:0:0:0: Direct-Access Nokia S60 1.0 PQ: 0 ANSI: 0
Sep 28 09:54:09 leo-laptop kernel: [ 1819.913568] sd 2:0:0:0: Attached scsi generic sg2 type 0
Sep 28 09:54:09 leo-laptop kernel: [ 1819.917332] sd 2:0:0:0: [sdb] 7741440 512-byte logical blocks: (3.96 GB/3.69 GiB)
Sep 28 09:54:09 leo-laptop kernel: [ 1819.917820] sd 2:0:0:0: [sdb] Write Protect is off
Sep 28 09:54:10 leo-laptop kernel: [ 1819.923075] sdb:
Sep 28 09:54:10 leo-laptop kernel: [ 1820.455343] sd 2:0:0:0: [sdb] Attached SCSI removable disk
/etc/mtab
Quote:
/dev/sdb /media/1234-5678 vfat rw,nosuid,nodev,uhelper=udisks,uid=1000,gid=1000,shortname=mixed,dmask=0077,utf8=1,flush 0 0
 
Old 09-29-2010, 07:36 PM   #2
frankbell
Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Debian, Mageia, Mint
Posts: 7,322

Rep: Reputation: 1381Reputation: 1381Reputation: 1381Reputation: 1381Reputation: 1381Reputation: 1381Reputation: 1381Reputation: 1381Reputation: 1381Reputation: 1381
The line from your mtab says "rw," which I think means "read-write."

Can you enter the directory on phone and run a "sudo ls -l" command?

I'm wondering whether there might be file/directory ownership issues.
 
Old 10-01-2010, 02:28 AM   #3
X.Cyclop
Member
 
Registered: Jun 2006
Location: Tlv
Distribution: Arch!
Posts: 120

Original Poster
Rep: Reputation: 21
here it is:
Quote:
-rwxr-xr-x 1 leo leo 0 2009-11-26 08:31 359350023523968.ndif
drwx------ 2 leo leo 32768 2009-11-28 15:50 Activenotes
drwx------ 2 leo leo 32768 2010-01-13 08:28 Attachments
-rwxr-xr-x 1 leo leo 234 2009-01-01 12:00 card_content.xml
drwx------ 8 leo leo 32768 2009-11-26 08:22 data
-rwxr-xr-x 1 leo leo 104691 2009-06-22 11:10 DevIcon.fil
-rwxr-xr-x 1 leo leo 3812 2009-06-22 11:10 DevLogo.fil
drwx------ 3 leo leo 32768 2009-11-26 12:30 download
drwx------ 6 leo leo 32768 2009-01-01 12:00 Images
drwx------ 2 leo leo 32768 2010-01-09 18:07 Installs
drwx------ 2 leo leo 32768 2009-01-01 12:00 Music
drwx------ 3 leo leo 32768 2009-11-26 08:22 My Videos
drwx------ 2 leo leo 32768 2010-01-09 17:37 Nokia
drwx------ 3 leo leo 32768 2010-08-26 18:32 Others
drwx------ 2 leo leo 32768 2009-12-06 11:00 Playlists
-rwxr-xr-x 1 leo leo 41 2010-08-18 13:53 pmp_usb.ini
drwx------ 23 leo leo 32768 2009-06-22 11:10 Private
drwx------ 7 leo leo 32768 2010-05-28 10:26 resource
drwx------ 3 leo leo 32768 2010-09-13 02:38 ShareOnline
drwx------ 4 leo leo 32768 2009-11-26 12:30 Sounds
drwx------ 5 leo leo 32768 2010-02-19 12:32 sys
drwx------ 8 leo leo 32768 2009-11-25 17:16 system
drwx------ 4 leo leo 32768 2009-01-01 12:00 Videos
-rwxr-xr-x 1 leo leo 17121 2010-08-18 13:54 winamp_metadata.dat
-rwxr-xr-x 1 leo leo 788 2010-08-18 13:54 winamp_metadata.idx
drwx------ 5 leo leo 32768 2010-09-27 16:42 WindowsLive
-rwxr-xr-x 1 leo leo 296 2010-03-12 10:28 WMPInfo.xml
 
Old 10-04-2010, 10:40 PM   #4
frankbell
Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Debian, Mageia, Mint
Posts: 7,322

Rep: Reputation: 1381Reputation: 1381Reputation: 1381Reputation: 1381Reputation: 1381Reputation: 1381Reputation: 1381Reputation: 1381Reputation: 1381Reputation: 1381
drwx------ means that only root can access those files. This looks like a permissions issue.

You could try creating a mount point under /media pointing /dev/sdb at it in /etc/stab and specifing that it belongs to "user" and is "rw."

The line would look something like


Code:
device       mountpoint       filesysystem       mount,owner   filesystem options
/dev/sdb   /media/[mountpoint]   auto            noauto,user         0   0
Here's a blog post I wrote about setting up my podplayer in Linux. It goes into how I set up the fstab, including some links to pages I found that helped me.

Here's a good explanation of fstab.

The Slackbook has a good explanation of Linux permissions.

Good luck.

Last edited by frankbell; 10-04-2010 at 10:41 PM. Reason: misplet word
 
1 members found this post helpful.
Old 10-05-2010, 05:41 AM   #5
X.Cyclop
Member
 
Registered: Jun 2006
Location: Tlv
Distribution: Arch!
Posts: 120

Original Poster
Rep: Reputation: 21
Ok, it's strange but now works. I plugged it in using Window$, then i did it in GNU/Linux and it worked as well. I think there was a problem with my cellphone.

Thanks!
 
Old 10-05-2010, 08:32 PM   #6
frankbell
Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Debian, Mageia, Mint
Posts: 7,322

Rep: Reputation: 1381Reputation: 1381Reputation: 1381Reputation: 1381Reputation: 1381Reputation: 1381Reputation: 1381Reputation: 1381Reputation: 1381Reputation: 1381
Quote:
Originally Posted by X.Cyclop View Post
Ok, it's strange but now works. I plugged it in using Window$, then i did it in GNU/Linux and it worked as well. I think there was a problem with my cellphone.

Thanks!
When I used to do tech support, that's what we called an F. M. problem--one that magically went away and we didn't quite figure out why.

Loosely translated, F. M. stand for "freakin' magic."
 
1 members found this post helpful.
  


Reply

Tags
nokia, readonly, usb


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Can I boot a computer via usb from a cellphone sparkkticus Linux - Embedded & Single-board computer 4 09-15-2009 08:46 PM
Cannot connect usb cellphone modem to internet Rodemire Linux - Networking 4 02-15-2009 04:59 PM
Connecting a cellphone (Samsung Z230) by USB to transfer images and data OR13 Linux - Hardware 1 10-21-2008 06:03 AM
USB HardDrive mounts read-only. Is there anyway to make it read-write? Fritz_Katz Linux - Hardware 7 09-13-2007 06:50 PM
Connecting a T68 cellphone to RH9 via USB ericcarlson Linux - Hardware 0 03-09-2004 05:11 AM


All times are GMT -5. The time now is 12:07 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration