mirror of
https://gitlab.xiph.org/xiph/ezstream.git
synced 2024-11-03 04:17:18 -05:00
Relax "group writeable!" error for compatibility w/ recent Linux
This commit is contained in:
parent
6422607b1f
commit
2b004da593
@ -364,9 +364,8 @@ metadata_program(const char *program, int normalize)
|
|||||||
metadata_free(&md);
|
metadata_free(&md);
|
||||||
return (NULL);
|
return (NULL);
|
||||||
}
|
}
|
||||||
if (st.st_mode & (S_IWGRP | S_IWOTH)) {
|
if (st.st_mode & S_IWOTH) {
|
||||||
log_error("%s: group and/or world writeable",
|
log_error("%s: world writeable", program);
|
||||||
program);
|
|
||||||
metadata_free(&md);
|
metadata_free(&md);
|
||||||
return (NULL);
|
return (NULL);
|
||||||
}
|
}
|
||||||
|
@ -273,9 +273,8 @@ playlist_program(const char *filename)
|
|||||||
playlist_free(&pl);
|
playlist_free(&pl);
|
||||||
return (NULL);
|
return (NULL);
|
||||||
}
|
}
|
||||||
if (st.st_mode & (S_IWGRP | S_IWOTH)) {
|
if (st.st_mode & S_IWOTH) {
|
||||||
log_error("%s: group and/or world writeable",
|
log_error("%s: world writeable", filename);
|
||||||
filename);
|
|
||||||
playlist_free(&pl);
|
playlist_free(&pl);
|
||||||
return (NULL);
|
return (NULL);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user