LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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 09-23-2006, 06:42 AM   #1
ton_vb
LQ Newbie
 
Registered: Nov 2005
Distribution: Fedora Core 3/5
Posts: 6

Rep: Reputation: 0
Unable to move or set write permissions for files taken from an mp3 player


I'm using fedora core 5 and have a problem I can't seem to solve. I recently got files from someone's mp3-player and put them on my hard-disk somewhere in my home directory. Now when I try to move the directories taken from the player from one directory to another or try to change names, I get a "permission denied". I tried chmod and chmod as root, my user is both owner and group for the file. When I try ls -l the directories show up in blue letters marked green. (I am using bash) I don't know exactly what this means, but I guess this means they're sort of read-only. Can anyone help in changing this? Many thanks.
 
Old 09-23-2006, 09:23 AM   #2
blackhole54
Senior Member
 
Registered: Mar 2006
Posts: 1,896

Rep: Reputation: 61
Quote:
Originally Posted by ton_vb
When I try ls -l the directories show up in blue letters marked green. (I am using bash)
I don't know what you mean "marked green." Blue is the normal color for directories. When you copy files from CDs, they normally do not have the write bits set because a CD is read only. But you should be able to change this with chmod.

Perhaps you could post the long (using -l) directory listing of one of the problematic files as well as the directory it is in? (To list just the directory instead of its contents, add the -d option.)

Also try the commands:

lsattr
lsattr -d

Use the first form for files and the second form for directories.

EDIT: Oops. I just noticed you said MP3 player instead of CD! But still do report back the result of the long directory listing and lsattr.

Last edited by blackhole54; 09-23-2006 at 09:25 AM.
 
Old 09-23-2006, 12:48 PM   #3
ton_vb
LQ Newbie
 
Registered: Nov 2005
Distribution: Fedora Core 3/5
Posts: 6

Original Poster
Rep: Reputation: 0
I am most terribly sorry to have taken up your time like this... I just found out I mistook "owner" en "other" and gave everyone but myself writing permissions to the dirs. Excuse me.
 
Old 09-24-2006, 03:16 AM   #4
blackhole54
Senior Member
 
Registered: Mar 2006
Posts: 1,896

Rep: Reputation: 61
Quote:
Originally Posted by ton_vb
I am most terribly sorry to have taken up your time like this... I just found out I mistook "owner" en "other" and gave everyone but myself writing permissions to the dirs. Excuse me.
You would have done well with the VMS operating system where "o" was "owner" and "w" was "world (IIRC). " I've made the same mistake you did. I try to tell myself it's because I did use VMS a long time ago. Still, the *nix usage seems a little strange to me -- IIRC, with VMS if world had permission, that included the user. Ditto for group if the user was in that group. But not so in *nix.
 
  


Reply



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
Portable MP3 player with corrupted mp3 files today53 SUSE / openSUSE 1 05-22-2006 09:24 AM
Not able to set write permissions on external hard drive. jpen8560 Linux - Hardware 19 03-22-2006 10:44 AM
Able to write files to MP3 player but no files written into actual device? olnex Linux - Hardware 0 11-11-2005 06:32 AM
how to write a script to move files from one directory to another myeire Linux - Newbie 7 02-25-2005 10:01 AM
cannot edit file as root with write permissions set? Mishley Red Hat 4 08-05-2004 12:23 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:48 PM.

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
Open Source Consulting | Domain Registration