| Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context. |
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
09-28-2010, 03:04 AM
|
#1
|
|
Member
Registered: Jun 2006
Location: Tlv
Distribution: Gentoo !
Posts: 120
Rep:
|
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
|
|
|
|
|
09-29-2010, 07:36 PM
|
#2
|
|
Guru
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Debian
Posts: 5,335
|
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.
|
|
|
|
10-01-2010, 02:28 AM
|
#3
|
|
Member
Registered: Jun 2006
Location: Tlv
Distribution: Gentoo !
Posts: 120
Original Poster
Rep:
|
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
|
|
|
|
|
10-04-2010, 10:40 PM
|
#4
|
|
Guru
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Debian
Posts: 5,335
|
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.
|
10-05-2010, 05:41 AM
|
#5
|
|
Member
Registered: Jun 2006
Location: Tlv
Distribution: Gentoo !
Posts: 120
Original Poster
Rep:
|
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!
|
|
|
|
10-05-2010, 08:32 PM
|
#6
|
|
Guru
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Debian
Posts: 5,335
|
Quote:
Originally Posted by X.Cyclop
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.
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 08:45 AM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|