Answer the question
In order to leave comments, you need to log in
How to overcome "Failed to stat directory Permission denied" when starting mpd?
I have ubuntu 16.04.
With the help of fstab, an ext4 partition with multimedia is mounted to it
UUID=4309fbe1-f600-4afb-8179-f1cc0fe553b5 /media/pavel/multimedia ext4 user,rw,nosuid,nodev 0 2
music_directory "/media/pavel/multimedia/music/"
playlist_directory "/var/lib/mpd/playlists"
db_file "/var/lib/mpd/tag_cache"
log_file "/var/log/mpd/mpd.log"
pid_file "/run/mpd/pid"
state_file "/var/lib/mpd/state"
sticker_file "/var/lib/mpd/sticker.sql"
user "mpd"
#group "nogroup"
bind_to_address "localhost"
input {
plugin "curl"
# proxy "proxy.isp.com:8080"
# proxy_user "user"
# proxy_password "password"
}
audio_output {
type "pulse"
name "My Pulse Output"
mixer_type "software" # optional
# server "remote_server" # optional
# sink "remote_server_sink" # optional
}
Apr 09 13:24 : config: Failed to stat directory "/media/pavel/multimedia/music": Permission denied
Answer the question
In order to leave comments, you need to log in
https://bbs.archlinux.org/viewtopic.php?id=107387
tl;dr: check permissions on all parent levels (specifically /media)
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question