Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
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.
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
Just a small problem here: I have a basic mp3 player that loaded up just like any other usb item, but now, when I try to load any music, I get this error message:not authorized to perform operation. It's an RCA Lyra, and it shows up in the side of pcmanfm, but I can't do anything with it when I click on it. And going to root in pcmanfm doesn't help; for some reason, it vanishes from the menu. I checked mount all media in pcmanfm, and I've tried to find an option in the settings panel, but no luck. Can anyone tell me why my computer seems to think I shouldn't use my mp3 player? (my music isn't that bad, honest!)
I'm using enlightenment 17 from jessie. on a minimal install. Before, I ran bodhilinux, but I switched to debian after I could no longer get the latest versions to install. The player worked under bodhi. I tried using the ls -l command on /media, and got this:
michelle@the-cathouse:/media$ ls -l
lrwxrwxrwx 1 root root 6 Jan 11 22:03 cdrom -> cdrom0
drwxrwxrwx 2 root root 4096 Feb 27 17:13 cdrom0
drwxrwxrwx 2 root root 4096 Feb 27 17:10 cdrom1
This is what I got the first time. I went in pcmanfm under root permissions, changed the owner to michelle, and this is what I get running the command again.
michelle@the-cathouse:/media$ ls -l
lrwxrwxrwx 1 michelle michelle 6 Jan 11 22:03 cdrom -> cdrom0
drwxrwxrwx 2 michelle michelle 4096 Feb 27 17:13 cdrom0
drwxrwxrwx 2 michelle michelle 4096 Feb 27 17:10 cdrom1
Even though it's changed permissions, it still won't let me access it. Using pcman under root, I can access the player, but only but going to media, and clicking on cdrom (which is interesting, since it's not a cdrom). However, it shows files which aren't on it, but were there just before the ones on the device now-(that I'm trying to erase).
When I try mounting the cdrom, I get this:michelle@the-cathouse:/media$ mount /media/cdrom
mount: block device /dev/sr1 is write-protected, mounting read-only
mount: no medium found on /dev/sr1
I also see that it just says: USB connected, on the player screen itself. When Im accessing it from pcmanfm root, I can delete the files (the old ones), and add new, but it doesn't show the files that replaced the original files, and which shouldn't be there anyway. The present, and last files to be added, was an audio mp3 book; the files I want to replace that with are mp3 music files that were there before I took them off for the book. It doesn't seem to do anything, even though all the right message windows come up saying the operations are being carried out. And I can't unmount it through my account, and I can only reach the player on root through /media/cdrom.
I've never seen the player do this before, even under several distros, or earlier versions of bodhi. I hope this information helps.
just a plain mount command gives this:michelle@the-cathouse:~$ mount
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
udev on /dev type devtmpfs (rw,relatime,size=10240k,nr_inodes=218545,mode=755)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
tmpfs on /run type tmpfs (rw,nosuid,noexec,relatime,size=206084k,mode=755)
/dev/disk/by-uuid/9e6e8683-e4cb-4681-aaff-8ed0b9d1a1f7 on / type ext4 (rw,relatime,errors=remount-ro,data=ordered)
tmpfs on /run/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k)
pstore on /sys/fs/pstore type pstore (rw,relatime)
tmpfs on /run/shm type tmpfs (rw,nosuid,nodev,noexec,relatime,size=828920k)
fusectl on /sys/fs/fuse/connections type fusectl (rw,relatime)
/dev/sda6 on /home type ext4 (rw,relatime,data=ordered)
/dev/sdb1 on /stuff type ext4 (rw,relatime,data=ordered)
rpc_pipefs on /run/rpc_pipefs type rpc_pipefs (rw,relatime)
If there's supposed to be an entry for rca lyra, or usb, it doesn't show up in /media. Just the cdroms example above. I can't click on the device listing in the menu at all; it won't let me in normal pcmanfm, and the rca lyra entry doesn't show up in the root menu.
Are there any controls in the RCA Lyra itself to set HOW it will be mounted? Some USB devices annoyingly use a mode called "MSC". If there's a way NOT to use that, then the player should mount like a normal external drive.
If the only option is mounting as MSC, you might need to go through an application that talks to MSC devices.
Also, right after you plug the player in, what does
I tried both suggestions. Here's the readout from both:
[13591.064137] usb 5-1: USB disconnect, device number 2
michelle@the-cathouse:~$ dmesg | tail
[13610.279119] sd 5:0:0:0: [sdc] Mode Sense: 38 00 00 00
[13610.287077] sd 5:0:0:0: [sdc] No Caching mode page found
[13610.287085] sd 5:0:0:0: [sdc] Assuming drive cache: write through
[13610.309108] sd 5:0:0:1: [sdd] Attached SCSI removable disk
[13610.335111] sd 5:0:0:0: [sdc] No Caching mode page found
[13610.335120] sd 5:0:0:0: [sdc] Assuming drive cache: write through
[13610.346112] sdc: sdc1
[13610.393079] sd 5:0:0:0: [sdc] No Caching mode page found
[13610.393088] sd 5:0:0:0: [sdc] Assuming drive cache: write through
[13610.393095] sd 5:0:0:0: [sdc] Attached SCSI removable disk
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 005 Device 003: ID 069b:0713 Thomson, Inc.
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
I recognise Thomson, Inc., as the maker-I believe-of the rca lyra. I never accessed the player before through any program other than pcmanfm. It just showed up in the bookmarks menu, and I worked with it like any other folder. That's why I'm puzzled by its present antics. I'm on Debian now, whereas before I used Bodhi linux and Xubuntu before that.
Added a new twist; now I don't even have to click on the lyra in the bookmarks menu. after a pause, the "not authorized" message shows up automatically.
If that works but you still can't access files on it, chown it to your normal user:
su -c 'chown -R your-username ./lyra'
su -c 'chmod -R 755 ./lyra'
and then try to muck around in there. If that works, a long term solution is to add yourself to the group that has permission to access external media. Are you having this problem with other external drives or is it only this device?
well, I finally got it to work, but only after some effort. I made the directory lyra, which it recognized. I changed ownership, and got a listing of files. However, when I deleted said files, they weren't really deleted in the .Trash-0 directory. I entered the trash directory, and found 2 directories there- files and info. deleted info- no problem. tried to delete the files in files dir. Instead of deleting, they doubled. I eventually went from 30 -155 files. Had to go in as root in the terminal and force delete them, otherwise the player complained there was no room. also found a SETTINGS.DAT file, whacked it, and the files could be deleted without them multiplying. Used pcmanfm as root, loaded my music, and can now enjoy my music.
So apparently, I'll have to manually delete the hidden files as root, since the system doesn't do it for me. But anyway, it's up and running, and I hope I can keep it that way. I saved this forum page for future reference, in case the little monster decides to act up again.