realthor 0 Report post Posted May 9, 2006 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? Share this post Link to post Share on other sites
Hamtaro 0 Report post Posted May 10, 2006 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: chown user musicWhere "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: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. Share this post Link to post Share on other sites
Magic1492 0 Report post Posted May 26, 2006 Couldn't you just chown the music, or if that didn't work, have you tried Chmoding the music 777? Share this post Link to post Share on other sites
kdr_98 0 Report post Posted May 28, 2006 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 > dummyNow 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. Share this post Link to post Share on other sites
ka. 0 Report post Posted June 27, 2008 (edited) 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: chown user musicWhere "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: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. Edited June 27, 2008 by ka. (see edit history) Share this post Link to post Share on other sites