LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   How to change ownership of my mp3 player from room (https://www.linuxquestions.org/questions/linux-newbie-8/how-to-change-ownership-of-my-mp3-player-from-room-838570/)

mrwizard10 10-16-2010 08:41 PM

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

Peacedog 10-16-2010 10:09 PM

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. ;-)

jdkaye 10-16-2010 10:14 PM

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

mrwizard10 10-17-2010 12:51 PM

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

frankbell 10-18-2010 08:52 PM

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."

mrwizard10 10-19-2010 07:53 AM

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


All times are GMT -5. The time now is 10:46 PM.