mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-04-12 15:52:29 +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:
parent
e2997427f7
commit
429a41deac
@ -20802,3 +20802,6 @@
|
|||||||
* Incremented the package version to 3.6.2int2.
|
* Incremented the package version to 3.6.2int2.
|
||||||
2021-09-15 Fred Gleason <fredg@paravelsystems.com>
|
2021-09-15 Fred Gleason <fredg@paravelsystems.com>
|
||||||
* Added a 'SaveWebgetFilesDirectory=' directive to rd.conf(5).
|
* Added a 'SaveWebgetFilesDirectory=' directive to rd.conf(5).
|
||||||
|
2021-09-16 Fred Gleason <fredg@paravelsystems.com>
|
||||||
|
* Modified the mode of files generated by the
|
||||||
|
'SaveWebgetFilesDirectory=' directive 0440 to 0664.
|
||||||
|
@ -802,7 +802,8 @@ void MainObject::SaveSourceFile(const QString &filepath) const
|
|||||||
// Open Destination File
|
// Open Destination File
|
||||||
//
|
//
|
||||||
int num=1;
|
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) {
|
if(errno!=EEXIST) {
|
||||||
rda->syslog(LOG_WARNING,
|
rda->syslog(LOG_WARNING,
|
||||||
"unable to open destination file \"%s\" for SaveWebgetFilesDirectory [%s]",
|
"unable to open destination file \"%s\" for SaveWebgetFilesDirectory [%s]",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user