Jump to content
xisto Community
realthor

Linux Question: Amarok And File Permissions please help, i cant get it to work with all music files

Recommended Posts

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

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 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:
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

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

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 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:
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 by ka. (see edit history)

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.