Nov 21, 2009

Linux Question: Amarok And File Permissions - please help, i can't get it to work with all music files

free web hosting
Open Discussion > MODERATED AREA > Computers > Software

Linux Question: Amarok And File Permissions - please help, i can't get it to work with all music files

realthor
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?

Comment/Reply (w/o sign-up)

Hamtaro
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.

Comment/Reply (w/o sign-up)

Magic1492
Couldn't you just chown the music, or if that didn't work, have you tried Chmoding the music 777?

Comment/Reply (w/o sign-up)

kdr_98
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.




Comment/Reply (w/o sign-up)

ka.
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.

 

 

 


Comment/Reply (w/o sign-up)



Got an Opinion! Express your Views! (no registration):-
Add your Reply/ Opinion/ Views/ Comments/ Suggestion/ Questions/ Queries etc.
Posts with decent grammar & English will be accepted and please refrain from profanities.
For asking a Question, We recommend you to sign-up (for free) so that you can track the topic easily.

Nature of your Post*: Opinion/ Reply/ Comments
Question/Query
Feedback to us.
       
Name   Email
Title/Question*

This textarea will convert to Rich-Text automatically (IE, Firefox, Chrome)

Similar Topics

Keywords : linux, amarok, file, permissions, work, music, files

  1. File Manager In Puppy Linux
    (5)
  2. Media Player Linux
    (3)
    Hi all I'm thinking of installing linux studio, just to give it a go. it looks pretty good from
    what I'm looking at. I was wonderring what's a good media player for linux? Something
    simmilar to winamp, WMP, iTunes, QCD/QMP. Something with a library that can handle 20 or so gig of
    music, something really stable. nothing too fancy, As far as advanced features go an EQ and being
    able to chance settings with the playback engine (like buffer etc) THX....
  3. On-line File Backups
    (0)
    Since our organization accelerates business applications across the distributed enterprise, we
    require some D2D backup repository to accelerate file backup and recovery. Please suggest some
    rock-solid platform for maintaining backups on-line that can self manage large files like Web 2.0
    rich media, video surveillance data.....
  4. Free Software For File Recovery
    RECUVA (9)
    Hi all, I was loking for a software to recover my lost files and I found this /biggrin.gif"
    style="vertical-align:middle" emoid=":D" border="0" alt="biggrin.gif" /> And the best part is ,
    its free Recuva - File Recovery Recuva (pronounced "recover") is a freeware Windows utility to
    restore files that have been accidentally deleted from your computer. This includes files emptied
    from the Recycle bin as well as images and other files that have been deleted by user error from
    digital camera memory cards or MP3 players. It will even bring back files that have been d....
  5. A Good File Explorer For Windows Xp?
    what's a better alternative to explorer (10)
    Hi, although it has some useful features and it's (i'd hope so...) well integrated with the
    shell, the file explorer that comes with windows xp is not the best we can ask for... so I've
    always tried to use various other pieces of softwares randomly found on the net whenever I've
    had to intensively work on my file directory... still I haven't found a very good one, all
    those I tried have some kind of bug or they are not really user friendly in some occasions... would
    anyone suggest a good FREEWARE file explorer? thanks /wink.gif" style="vertical-al....
  6. Defraggler - Free Software To Defrag Your File
    Try it out (15)
    Have you all hear a software called Defraggler? Well if not, I recommend you to download this
    software. What does it do? Simple, it'll quickly defrag files you want to defrag, no need to
    defrag the whole drive. Useful if you have less fragmented file and if you hate Windows's
    original defragger. And it's free! OS Supported and filesystem supported? All Windows 2000 or
    higher (it'll be Windows 2000, 2003, XP and Vista. 64-bit support too) It support NFTS and FAT32
    Requirement? Well not much, the EXE file even smaller than 1 MB (dont judge the power by t....
  7. Linux Anti-virus Software
    is it required? (6)
    Just installed Linux Ubuntu on a partition with Wireless access to the Internet and have a question
    about the need for an Ani-virus software. Is it suggested to have it installed? and which one is
    recommended by the Trap17 users? Ubuntu 8.04 installed via Wubi, if that matters. Both the LAN
    hard-wire connection and the Wireless Adapter work, if that matters.......
  8. Save Youtube Files
    (27)
    Hi, I'm running a tool called MelodyCan for my Napster library and recently discovered 1 perfect
    feature - YouTube downloader! It allows to download YouTube videos from the site and convert to
    various video formats. Install the trial version from http://www.convert-any-media.com/ and go to
    your Internet Explorer. All you need is to load Youtube page with a video clip and click on "Save
    Youtube video" button or something like that.. and the clip will be saved to the desired location
    /smile.gif" style="vertical-align:middle" emoid=":)" border="0" alt="smile.gif" />)....
  9. Linux Kernel Problem
    (2)
    Hi members of trap17, I have a problem in the server that breaks my head for the past few days...
    Any help will be greatly appreciated. Thanks in advance Here is the problem Operating System:
    CentOS 5.0 kernel 2.6.18-8 Problem: journal commit I/O error Why this occurs: when we do some
    read write operations in our server, without any reason the entire file system goes to read only
    mode and all our future write operations fail.. and it spits journal commit I/O error Please
    explain as to why this error occurs and what can be done to resolve this issue.....
  10. Open Multiple Website With One Click
    Simple Bat file that opens all your favorite sites in one click (0)
    All you have to do is * Open notebook copy and paste this code ( you of course can change the
    website you wish to go to this is just a example) CODE @ECHO OFF ECHO STARTING FIREFOX START
    C:\"Program Files"\"Mozilla Firefox"\firefox.exe http://www.google.com/ http://myspace.com
    http://www.trap17.com/forums/index.php? * Then in notepad go to file save as * save the file as
    in the file name box somefilename.BAT ( it MUST have a BAT extension) * in the save
    file type click on all files * then click save Thats it very easy works, perfect on firefox....
  11. Linux
    (5)
    I am thinking of getting Linux, but i'm not sure how compatible the programs will be between the
    two systems... I mean would i be able to read .doc and other MS documents? Could also Linux produce
    files with .doc extension because my school demands the docs to be only with this extension
    /biggrin.gif" style="vertical-align:middle" emoid=":D" border="0" alt="biggrin.gif" />....
  12. How To Disable Downloading Files In Internet Explorer
    (0)
    How to disable downloading files in Internet Explorer This tip is useful for network
    administrators; users no longer can download files in internet explorer 1- Go to Start menu > run
    and then type regedit to run Windows Registry Editor 2- Go to following address: CODE
    HKEY-CURRENT-USER\Software\Microsoft\Windows\CurrentVersion\InternetSetting\Zone\3 3- Double
    click on 1803 and give it value of 3 and press OK 4- Close Windows Registry Editor and restart your
    computer. Users no longer can download files in Internet Explorer NOte: incorrectly editing
    registry m....
  13. Hate Trying To Do File Sharing On Vista
    (2)
    i've had this attempt before with no luck now i'm going to try again! now that i got my two
    laptops (laptop1 - Vista, laptop2 - XP) wirelessly connected, i still can't see each others
    shared files... i tried this before with my PC (XP) and laptop (Vista) now i have to make this
    work because i have some files needed to be transfered between them... i have gone through the
    manual process of anabling file sharing blah blah through here
    http://www.microsoft.com/technet/network/e...e/vista_fp.mspx
    http://www.home-network-help.com/simple-file-sharing.ht....
  14. Bbc Iplayer
    Linux and Mac Ignored (3)
    The BBC are developing a piece of software called iPlayer, that will allow people who hold a TV
    Licence to watch brodcasts up to 7 days after their original transmission by downloading them
    through the BBC's software. This is a great idea, and shows the BBC are competing with the likes
    of Channel 4's On Demand service. It'll be free, and they've worked hard with the owners
    of the programmes to make sure they can bring as much as possible to the service. However, there is
    a major problem: iPlayer will require Microsoft Windows and Internet Explorer. The BB....
  15. How To Hide Files Or Folders In An Image File !
    (8)
    How to hide files or folders in an image file !!!!!! Yes, hidden files or folders in an image
    file. As you know winrar is one of the most popular and professional compressor programs in the
    world and with this program you can compress your files. Today I would like to teach you, who you
    can hide your files or folders in an image file. First, compress your file or folder with winrar
    (for example myfile.rar). Select an image and rename it same as your compressed file name(for
    example myfile.jpg or myfile.gif). Then put both files in same location. Ok, click Start > Run a....
  16. Software That Will Convert .cue/.bin Files To A Different Format Like .avi
    (10)
    Ok, well recently i downloaded a little snippet of somthing that i couldn't find anywhere else,
    and i wish i could have found it somewhere else because the snippet is in .cue/.bin video image
    format.. and that is not exactly what i want... i know how to play it, i used VLC media player to
    play the file, but now i want to write it to a CD but i do not want to keep VLC media player on my
    computer or install it on any computer i want to play this file on... so i was hoping to convert
    icue/.bin files to somthing like what the rest of what i have is which is .avi i h....
  17. 7-zip - A File Archiver With High Compression Ratio. (like Winrar & Winzip But Free)
    (11)
    7-Zip is free software distributed under the GNU LGPL. The main features of 7-Zip: QUOTE *
    High compression ratio in new 7z format with LZMA compression * 7-Zip is free software
    distributed under the GNU LGPL * Supported formats: o Packing / unpacking: 7z, ZIP,
    GZIP, BZIP2 and TAR o Unpacking only: RAR, CAB, ISO, ARJ, LZH, CHM, Z, CPIO, RPM, DEB and
    NSIS * For ZIP and GZIP formats 7-Zip provides compression ratio that is 2-10 % better than
    ratio provided by PKZip and WinZip * Self-extracting capability for 7z format * Int....
  18. Having Problems Installing Apache2 On Linux
    Any tux lovers to help me out? (3)
    I am installing Apache 2 on Ubuntu Linux 6.06 (downloaded appropriate binary), and have followed the
    instructions from several places, including apach.org... I have got to the point where it says to
    enter make , just after the ./configure --prefix=/usr/local/apache2 , where I also added
    --enable-mods-shared=most , for the common options. That all went fine, took a little while, then
    when it's done I am supposed to enter make , I presume to gather up all the newly created
    files. This command just does not exist. returned bash error and it is not in the manual.....
  19. Dead Disk Doctor 1.22
    try to recover your file (1)
    With Dead Disk Doctor 1.22,you can coppy your file from damaged CD, DVD disks to your hard disk,and
    then you can use that file normal. for more infomation, you can visit to
    http://www.deaddiskdoctor.com or just want to download
    http://www.deaddiskdoctor.com/ddd12_setup.exe hope this can solve many problems with your file.....
  20. Does Anyone Know A Player That Will Play .cue Files
    (11)
    Ok, well i found this place online that you can download movies after you pay for the,. and from
    this place, i bought....and downloaded The Matrix Revolutions, and it is fully downloaded, but it is
    in a .cue format, meaning it is The_Matrix_Revoloutions.cue and well it wont open for me in
    windows media player, and i dont have any other players, so i was wondering if anyone on here knew
    of a program, or softwear that is free that will be ablt to play this extenction....
  21. Learn How To Recover Files That You Thought You Lost
    (2)
    Many times we panic when we think that we lost an important file but the good news is that sometimes
    we can actually recover the file. I will show you how we can do that. If you have deleted that file
    by accident, first of all DON"T PANIC. Go to your recycle bin to check if its there, if it is, you
    are very luck,the file can be recovered and restored with ease. Drag the file to your desktop, right
    click on the file and select Restore.That file will be restored back to its original state. If the
    file is on longer in the Recycle bin, look for back ups. If your computer h....
  22. How To Open A .daa File
    (45)
    Hi there, How do i have to open a file with extension .daa Somebody told me to copy it on cd and to
    run it from cd rom but i got the same problems. What dp i need to do to ppen the file? Thanks....
  23. How To Put Music In The Background Of A Powerpoint Presentation
    without having the viewer download the music file (16)
    Well, i made this power poit presentation in memory of my grandfather as many of you kno, passed
    away exactly a week ago....and i am trying to get this song to play as background music..and i did,
    but there is one humongus problem... in order for the people who are viewing it to hear the
    background music they have to download the music file as well ad the powerpoint presentation, which
    on my DSL conntection taked almost 2 minutes, and i could just imagine what it will be for a dial-up
    user (my grandma who wants to see it)... Some people may say, its impossible, but i kn....
  24. What Is Mysql's Default Root Password?
    Just installed in on my Linux box (10)
    I installed SuSE Linux 9.1 Professional on an old computer recently. I installed MySQL server
    (version 4.0.18), Webmin (version 1.250) and Usermin (version 1.180). If I try to connect to the
    MySQL server with the username root and no password, I get an invalid login error from Webmin,
    Usermin and mysql-cc. What is the default password, and how can I change it? I am very excited to be
    learning Linux (after a long journey through Windows-land), but get frustrated on loopholes like
    these. Also, an a different note, why would the system stop loading after a certain point (to....
  25. Help With Linux Ubunto Os
    Tutorial for linux ubunto (14)
    I've got a copy of linux ubunto but don't how to use it, /sad.gif' border='0'
    style='vertical-align:middle' alt='sad.gif' /> I don't have any idea about this kind of OS yet,
    is there any body knows a site that offers free tutorials for linux ubunto? I really appreciate if
    you can help me with this.. /biggrin.gif' border='0' style='vertical-align:middle'
    alt='biggrin.gif' /> ....
  26. Cutting Mp3 And Midi Files
    It it possible (13)
    Hi all, I have a cell phone that can play mp3 ringones and midi ringtones. I have much mp3's on
    my computer and also a few mdi's. Is there a way I can cut peices out of them, so i have short
    pieces for ringtones. Then i can send them to my cellphone and use. Thanx in advance Moody....
  27. Proftpd Ftp Server In Linux
    how to configure it? (1)
    Hi, I just installed the ftp server proftpd in my linux machine. I executed it and i can login it
    with my user. It redirects me to my /home/myuser. Until here everything ok. My idea was configuring
    a ftp server where a predifined user could access only a folder's range with read only
    permisions and also a folder with write permisions but not read permisions. I am not sure about the
    steps to follow to do this. So i thought that maybe someone in trap is using proftpd and could help
    me. So the steps will be: - Create a user with the command useradd/passwd - Modify the ....
  28. Does Anyone Know How To Make Exe Files
    (22)
    Does anyone know any software for making exe files, I want to make simple programs not propper
    one's. Thanks.....
  29. Compressin Files?
    (20)
    I just created an e-book with pics colours now it's up to the size of 20 MB. winZipping it
    doesn't help , I need to compress it so much that I'm stuck whether i should use Total
    Commander or WinRAR. i want to be able to send it to people and eventually I will be uploading it
    onto my server and people will be downloading it from there.....
  30. Windows -> Linux
    Software comparison (17)
    For those who are planning to switch to linux, here is a fine comparison of software:
    http://linuxshop.ru/linuxbegin/win-lin-soft-en/table.shtml ....

    1. Looking for linux, amarok, file, permissions, work, music, files

Searching Video's for linux, amarok, file, permissions, work, music, files
See Also,
advertisement


Linux Question: Amarok And File Permissions - please help, i can't get it to work with all music files

Affordable Web Hosting, Low cost Web Hosting - ComputingHost.com