You're not explicit about what comand you actually execute, the following should do it, where we're running the mv command as the superuser:
Code: Select all
sudo mv newemail.wav /var/lib/mpd/music
This assumes newemail.wav is in your current directory and /var/lib/mpd/music is a directory (if it's a file, then music will be overwritten). You will have to enter your password unless you've previously sudo-ed in the not to distant past.
If this fails then check the exact permissions of source and destination (ls -al); files might be something like "-rw-r--r--" and directories "drwxr-xr-x". Things like "----------" can be troublesome. Verify that the fileystem is mounted rw with
which will list all devices mounted , the fileysystem type and its attributes, noting the rw in the following example:
Code: Select all
/dev/sda1 on /backup1 type ext3 (rw,relatime)
Obviously you will have different devices (or not) but you want the one on which /var/lib/mpd/music is located ('df /var/lib/mpd/music' will tell you this, see 'man df')
Hope this helps