mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-10-14 22:51:13 +02:00
2021-09-16 Fred Gleason <fredg@paravelsystems.com>
* Modified the mode of files generated by the 'SaveWebgetFilesDirectory=' directive 0440 to 0664. Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
@@ -802,7 +802,8 @@ void MainObject::SaveSourceFile(const QString &filepath) const
|
||||
// Open Destination File
|
||||
//
|
||||
int num=1;
|
||||
while((dst_fd=open(filename.toUtf8(),O_WRONLY|O_CREAT|O_EXCL,S_IRUSR|S_IRGRP))<0) {
|
||||
while((dst_fd=open(filename.toUtf8(),O_WRONLY|O_CREAT|O_EXCL,
|
||||
S_IRUSR|S_IWUSR|S_IRGRP|S_IWGRP|S_IROTH))<0) {
|
||||
if(errno!=EEXIST) {
|
||||
rda->syslog(LOG_WARNING,
|
||||
"unable to open destination file \"%s\" for SaveWebgetFilesDirectory [%s]",
|
||||
|
Reference in New Issue
Block a user