LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
 
Search this Thread
Old 09-23-2006, 02:58 PM   #1
Killer Penguin
Member
 
Registered: Dec 2005
Distribution: CUSTOM DISTRO
Posts: 43

Rep: Reputation: 15
my music collection


i have a external hard disk that is NTFS file system i can open it but only in root (fine with me ) but when i copy all my music off of it to my user account so i can get to it it still has the locks on it so i cant play them but i do NOT want to go thru EVERY FILE AND EVERY SONG just to change permissions on them and i can seem to change the permissions on the HOLE disk cause it says READ ONLY is there a way i can change all the permissions of all files and folders in the main folder or is there a way to change the disk to something other than read only i am running FC5 distro
 
Old 09-23-2006, 03:10 PM   #2
Brian1
Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 61
Use a command like ' chown -R owner name_of_directory ' as root since root owns the file.
chown -R bob /storage

Do the same with chgrp
chgrp -R bob /storage

Brian1
 
Old 09-23-2006, 03:26 PM   #3
Killer Penguin
Member
 
Registered: Dec 2005
Distribution: CUSTOM DISTRO
Posts: 43

Original Poster
Rep: Reputation: 15
ok i did that and it ran thru all my file saying it was changing and at the end of each file it said Read Only System File but it still wont change anything

how do i get it out of read only mode
 
Old 09-23-2006, 03:55 PM   #4
Brian1
Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 61
May need to chmod files.
chmod -R 700 /storage

or for everyone.
chmod -R 700 /storage

You read up on these commands with the command ' man '
man chmod
man chown
man chgrp
man ls

Brian1

Last edited by Brian1; 09-23-2006 at 04:19 PM.
 
Old 09-23-2006, 04:07 PM   #5
robbbert
Member
 
Registered: Oct 2005
Location: Hannover, Germany
Distribution: Let there be Ubuntu... :o)
Posts: 573

Rep: Reputation: 32
Use dots after sentences end, and use paragraphs. Overall, post more analytical and exact.

- Use chmod, or describe your problem better.

Sorry if this tip cannot match.
 
Old 09-23-2006, 04:32 PM   #6
Sugarat
Member
 
Registered: Sep 2003
Posts: 71

Rep: Reputation: 15
The file system these files are on is mounted as read only. Sounds like you're trying to do it on the NTFS drive and not local copies.
 
Old 09-23-2006, 04:49 PM   #7
Killer Penguin
Member
 
Registered: Dec 2005
Distribution: CUSTOM DISTRO
Posts: 43

Original Poster
Rep: Reputation: 15
yea i am trying to get them off the NTFS drive itself
 
Old 09-23-2006, 05:00 PM   #8
robbbert
Member
 
Registered: Oct 2005
Location: Hannover, Germany
Distribution: Let there be Ubuntu... :o)
Posts: 573

Rep: Reputation: 32
You're definitely a candidate to reading this page entirely.
 
Old 09-23-2006, 05:06 PM   #9
Killer Penguin
Member
 
Registered: Dec 2005
Distribution: CUSTOM DISTRO
Posts: 43

Original Poster
Rep: Reputation: 15
i have a external hard disk that is NTFS file system i can open it, but only in root (fine with me ) but when i copy all my music off of it to my user account so i can get to it it still has the locks on it. so i cant play them, but i do NOT want to go thru EVERY FILE AND EVERY SONG just to change permissions on them, and i cant seem to change the permissions on the HOLE disk cause it says CANT CHANGE PERMISSIONS BECAUSE DISK IS READ ONLY. is there a way to change the disk to something other than read only. I WANT TO BE ABLE TO PLUG IT IN AND VIEW ANY THING ON IT WITH OUT GOING TO ROOT IF POSSABLE. i am running FC5 distro

the extermal drived is used on my laptop which is company owned and i cant put linux on iT.


i hope this explains things better.
 
Old 10-06-2006, 02:19 AM   #10
ton_vb
LQ Newbie
 
Registered: Nov 2005
Distribution: Fedora Core 3/5
Posts: 6

Rep: Reputation: 0
Same Problem - I think

I seem to be having the same problem and hope this might make things clear

I run Fedora Core 5 on an i686 and I have NTFS support installed.
I connected an external NTFS hard disk (someone else's) to my usb
drive.

When I am logged in as an ordinary user, Fedora can't automatically
mount it, because I don't have the permissions.

So I su - and mount it manually. At that point ls -l
gives for every file and directory that the owner is root and only
the owner has read and write permissions.

So I try chown recursively, and that changes
every directory on the disk, but not of the files.

When I try chmod recursively (as root or as user) this gives
me an "operation not permitted" for all the files.

The commands lsattr and chattr both give either a
"permission denied" or an "Inappropriate IOTCL".

So I hope this clarifies the problem a bit and I hope someone can
help with it.

Thanks in advance... Ton
 
Old 10-06-2006, 06:24 AM   #11
cs-cam
Senior Member
 
Registered: May 2004
Location: Australia
Distribution: Gentoo
Posts: 3,544
Blog Entries: 4

Rep: Reputation: 56
You can't change permissions on an NTFS filesystem, it doesn't support Unix-like permissions. You can however use the umask option during mounting which should allow you to access the files as a user but you won't be able to write to NTFS, you can technically but it's not considered "safe" yet.

http://wiki.linux-ntfs.org/doku.php?id=howto:mount
 
  


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
Amarok Music Collection issue pilatus666 Mandriva 3 08-15-2007 09:23 PM
Organize music collection Oxagast Linux - Software 1 09-06-2006 12:26 PM
How to backup digital music collection?? servnov General 3 05-27-2006 04:05 PM
LXer: Music Collection Sharing With Rhythmbox LXer Syndicated Linux News 0 05-01-2006 08:54 AM
Juk Music collection is not persistent ernesto_cgf Linux - Software 0 12-10-2004 09:56 AM


All times are GMT -5. The time now is 06:33 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration