aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAvuton Olrich <avuton@gmail.com>2008-12-08 09:00:38 +0100
committerMax Kellermann <max@duempel.org>2008-12-08 10:01:20 +0100
commita25b8acd827ffd663e24e27961796ccf80aa5571 (patch)
treec6ac36d3db3faa66f434836545c19d743735e387
parent5b11d5a3320a037d715ab292020666fea0ed3993 (diff)
downloadmpd-a25b8acd827ffd663e24e27961796ccf80aa5571.tar.gz
mpd-a25b8acd827ffd663e24e27961796ccf80aa5571.tar.xz
mpd-a25b8acd827ffd663e24e27961796ccf80aa5571.zip
update: default to follow all symlinks
MPD 0.13 and older followed all symbolic links. Although this can be a security problem (as it has always been), 0.14 should offer the same default behaviour as 0.13.
Diffstat (limited to '')
-rw-r--r--doc/mpd.conf.52
-rw-r--r--doc/mpdconf.example2
-rw-r--r--src/update.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/doc/mpd.conf.5 b/doc/mpd.conf.5
index 4427b9798..52d7714cd 100644
--- a/doc/mpd.conf.5
+++ b/doc/mpd.conf.5
@@ -38,7 +38,7 @@ This specifies the directory where saved playlists are stored.
.B follow_outside_symlinks <yes or no>
Control if MPD will follow symbolic links pointing outside the music dir.
You must recreate the database after changing this option.
-The default is "no".
+The default is "yes".
.TP
.B follow_inside_symlinks <yes or no>
Control if MPD will follow symbolic links pointing outside the music dir, potentially
diff --git a/doc/mpdconf.example b/doc/mpdconf.example
index 151c9464f..808c035a7 100644
--- a/doc/mpdconf.example
+++ b/doc/mpdconf.example
@@ -7,7 +7,7 @@ playlist_directory "~/.mpd/playlists"
db_file "~/.mpd/mpd.db"
log_file "~/.mpd/mpd.log"
error_file "~/.mpd/mpd.error"
-#follow_outside_symlinks "no"
+#follow_outside_symlinks "yes"
#follow_inside_symlinks "yes"
################################################################
diff --git a/src/update.c b/src/update.c
index 2349d3e0f..ae079b74c 100644
--- a/src/update.c
+++ b/src/update.c
@@ -59,7 +59,7 @@ static struct condition delete_cond;
enum {
DEFAULT_FOLLOW_INSIDE_SYMLINKS = true,
- DEFAULT_FOLLOW_OUTSIDE_SYMLINKS = false,
+ DEFAULT_FOLLOW_OUTSIDE_SYMLINKS = true,
};
static bool follow_inside_symlinks;