LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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!

Notices


Reply
  Search this Thread
Old 10-16-2010, 08:41 PM   #1
mrwizard10
LQ Newbie
 
Registered: Oct 2010
Posts: 4

Rep: Reputation: 0
How to change ownership of my mp3 player from room


Folks,

I am a Linux Noob of the major kind.

I have an MP3 player that is owned by root. I have a SANDISK it in also. I can copy files to the player despite it being owned by root but I can't copy them to the SANDISK which is also owned by root. When I try the command:

sudo chown username:??? /media/usbX

I get "Operation not permitted"

So what is suppose to be after the colon?
How do I determine what that is if it is a directory?
How do I change to root to change ownership if that is what I need to do?
Is there an application that I can use to change ownership easy and what user do I have to be to do that.

Thanks

Bob
 
Old 10-16-2010, 10:09 PM   #2
Peacedog
LQ Guru
 
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296

Rep: Reputation: 168Reputation: 168
Hi mrwizard10, Welcome to LQ. What Distribution are you using? You likely just need to make your user a member of the proper group to use the devices.

Good luck. ;-)
 
Old 10-16-2010, 10:14 PM   #3
jdkaye
LQ Guru
 
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,464

Rep: Reputation: Disabled
You probably need to take about 15 minutes to read up on file permissions. A little time spent now will save you hours and hours of time later. A good place to start is here.
Ciao,
jdk
 
Old 10-17-2010, 12:51 PM   #4
mrwizard10
LQ Newbie
 
Registered: Oct 2010
Posts: 4

Original Poster
Rep: Reputation: 0
So here is the latest

So this is the latest I tried:

sudo chown -R username:username /media/usbX Where username is the username I normally log in with and X is the drive number.

In response, I get a scrolling down of all files and directories, followed by "Operation not responded"

Now what do I do?

Thanks

Bob
 
Old 10-18-2010, 08:52 PM   #5
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Debian, Mageia, and whatever VMs I happen to be playing with
Posts: 11,798
Blog Entries: 13

Rep: Reputation: 2948Reputation: 2948Reputation: 2948Reputation: 2948Reputation: 2948Reputation: 2948Reputation: 2948Reputation: 2948Reputation: 2948Reputation: 2948Reputation: 2948
I have run into this with my podplayer.

This may be too simple, but when that happens (the OS throws a "read only file system" when I try to add or delete something and I check the ownership and it's owned by root), I unplug it and plug it in again while logged in as user. That almost resolves the issue.

If the device is in your fstab, you need to make sure that ownership is specified as "user."
 
Old 10-19-2010, 07:53 AM   #6
mrwizard10
LQ Newbie
 
Registered: Oct 2010
Posts: 4

Original Poster
Rep: Reputation: 0
Unforunately

When I take out the drive and then put it back in, it fails to mount.

LOL..feel like I am going backwards.

Thanks for the suggestion.

Bob
 
  


Reply


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
Tutorial to change a mp3 player into a digital camera muggie Linux - Newbie 1 02-09-2010 09:49 PM
How do i change my default mp3 player totem to audacious? drakeman007 Linux - Newbie 2 12-08-2008 10:31 PM
S1 Mp3 player (Help Create a New Distro for an MP3 player!)) Ian_Hawdon Linux - General 3 12-05-2005 01:14 PM
iRiver iHP-120 20GB MP3 Player, a player for the rest of us ? dukeinlondon General 1 04-04-2004 04:44 AM
MP3 CD player can't read MP3 CD's burned in linux food188 Linux - Software 2 01-11-2004 04:55 PM


All times are GMT -5. The time now is 09:51 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration