|
|
|
|
![]() ![]() |
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?
|
|
|
|
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. |
|
|
|
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?
|
|
|
|
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. |
|
|
|
Jun 27 2008, 02:07 AM
Post
#5
|
|
|
Newbie ![]() Group: Members Posts: 1 Joined: 27-June 08 Member No.: 64,239 |
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 |
|
|
|
![]() ![]() |
Similar Topics
|
Lo-Fi Version | Time is now: 6th September 2008 - 08:27 PM |