mirror of
https://gitlab.xiph.org/xiph/ezstream.git
synced 2024-12-04 14:46:31 -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);
|
||||
return (NULL);
|
||||
}
|
||||
if (st.st_mode & (S_IWGRP | S_IWOTH)) {
|
||||
log_error("%s: group and/or world writeable",
|
||||
program);
|
||||
if (st.st_mode & S_IWOTH) {
|
||||
log_error("%s: world writeable", program);
|
||||
metadata_free(&md);
|
||||
return (NULL);
|
||||
}
|
||||
|
@ -273,9 +273,8 @@ playlist_program(const char *filename)
|
||||
playlist_free(&pl);
|
||||
return (NULL);
|
||||
}
|
||||
if (st.st_mode & (S_IWGRP | S_IWOTH)) {
|
||||
log_error("%s: group and/or world writeable",
|
||||
filename);
|
||||
if (st.st_mode & S_IWOTH) {
|
||||
log_error("%s: world writeable", filename);
|
||||
playlist_free(&pl);
|
||||
return (NULL);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user