Welcome Guest ( Log In | Register)



 
Reply to this topicStart new topic
> Linux Question: Amarok And File Permissions, please help, i can't get it to work with all music files
realthor
post May 9 2006, 04:10 PM
Post #1


Super Member
*********

Group: Members
Posts: 202
Joined: 7-November 05
Member No.: 13,928



hey, i use to use Linux DC++ to download music from some hubs and i usually download it to /home/downloads/ and then i move the files to my collection on another HDD a sata one, on sda3/music/ but when i move the files using krushader root mode they become posessed by root and amarok can't play them displaying a locker on the file's icon. I tried to " chmod 774 music ", where music is my music directory, as root in konsole but no luck. What should i do to make a whole directory accessible from amarok as user?
Go to the top of the page
 
+Quote Post
Hamtaro
post May 10 2006, 02:05 AM
Post #2


Super Member
*********

Group: Members
Posts: 372
Joined: 14-October 04
Member No.: 1,736



I'm not that great with Linux, but it sounds like you should change the owner of the file. As root, you should issue the command:
CODE
chown user music

Where "user" is your user name. You may also have to go through the files in the folder as well. The way to change all the files in your music folder (assuming you have no other folders), would be:
CODE
chown user music/*

That would change all the files' owners in the music folder to the username "user." Well, I hope I helped you with your problem.
Go to the top of the page
 
+Quote Post
Magic1492
post May 26 2006, 09:14 PM
Post #3


Member [Level 1]
****

Group: Members
Posts: 53
Joined: 21-May 06
Member No.: 24,065



Couldn't you just chown the music, or if that didn't work, have you tried Chmoding the music 777?
Go to the top of the page
 
+Quote Post
kdr_98
post May 28 2006, 11:21 AM
Post #4


Super Member
*********

Group: Members
Posts: 220
Joined: 30-October 05
Member No.: 13,574



I think the command for chown is :

chown [user] [group] [files or directory]

You can do a 'ls -l'
the you do a ls -l > dummy

Now you see the owner and the group and you can change it to that.
Dont forget changing the directory.

If you do a chmod 777 every file can be changed/executed by everyone, this normal works always but is not really safe to do.
In the chmod you also work with :

chmod u+x (give execute rights for the user)
chmod u+r (give readrights ....)

the best is change the file to the user you need and clear the rights for everyone else.



Go to the top of the page
 
+Quote Post
ka.
post Jun 27 2008, 02:07 AM
Post #5


Newbie
*

Group: Members
Posts: 1
Joined: 27-June 08
Member No.: 64,239



QUOTE(Hamtaro @ May 9 2006, 10:05 PM) *
I'm not that great with Linux, but it sounds like you should change the owner of the file. As root, you should issue the command:
CODE
chown user music

Where "user" is your user name. You may also have to go through the files in the folder as well. The way to change all the files in your music folder (assuming you have no other folders), would be:
CODE
chown user music/*

That would change all the files' owners in the music folder to the username "user." Well, I hope I helped you with your problem.


you did indeed :)
Thanks so much, Hamtaro, that was exactly what i was looking for.

I've been resorting to changing permissions to 777 for all my files just for the sake of my listening pleasure,..but the idea of it alone was driving me mad -> there's a reason why we aren't using window-z ;)

ka.

This post has been edited by ka.: Jun 27 2008, 02:11 AM
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic

Collapse

> Similar Topics

Topics Topics
  1. Does Anyone Know How To Make Exe Files(17)
  2. Proftpd Ftp Server In Linux(1)
  3. Linux® Trademark?(3)
  4. Cutting Mp3 And Midi Files(12)
  5. Help With Linux Ubunto Os(13)
  6. What Is Mysql's Default Root Password?(8)
  7. How To Put Music In The Background Of A Powerpoint Presentation(10)
  8. How To Open A .daa File(39)
  9. Suse Linux 10.1(3)
  10. Having Problems Installing Apache2 On Linux(2)
  11. Folder And File Lock(4)
  12. Software That Will Convert .cue/.bin Files To A Different Format Like .avi(10)
  13. Adobe Acrobat File Password(1)
  14. Linux On Old Computer(2)
  15. File Transfer Program(4)
  1. How To Hide Files Or Folders In An Image File !(5)
  2. Bbc Iplayer(0)
  3. Hate Trying To Do File Sharing On Vista(2)
  4. Openoffice Worm Hits Mac, Linux And Windows(1)
  5. How To Disable Downloading Files In Internet Explorer(0)
  6. Linux(5)
  7. Open Multiple Website With One Click(0)
  8. Linux Kernel Problem(2)
  9. Save Youtube Files(21)
  10. Linux Anti-virus Software(6)
  11. Defraggler - Free Software To Defrag Your File(12)
  12. A Good File Explorer For Windows Xp?(6)
  13. Free Software For File Recovery(6)


 



- Lo-Fi Version Time is now: 6th September 2008 - 08:27 PM