mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-07-13 15:17:44 +02:00
2025-01-24 Fred Gleason <fredg@paravelsystems.com>
* Fixed a bug in the WebGet service that caused uploads to fail when using an Apache package with 'PrivateTmp=true' set in it's Systemd service definition. Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
parent
bbbf45b634
commit
f4c95da044
@ -24502,3 +24502,7 @@
|
|||||||
* Cleaned up dead entries in 'lib/rdpam.h'.
|
* Cleaned up dead entries in 'lib/rdpam.h'.
|
||||||
2025-01-23 Fred Gleason <fredg@paravelsystems.com>
|
2025-01-23 Fred Gleason <fredg@paravelsystems.com>
|
||||||
* Incremented the package version to 4.1.2pam0.
|
* Incremented the package version to 4.1.2pam0.
|
||||||
|
2025-01-24 Fred Gleason <fredg@paravelsystems.com>
|
||||||
|
* Fixed a bug in the WebGet service that caused uploads to fail when
|
||||||
|
using an Apache package with 'PrivateTmp=true' set in it's Systemd
|
||||||
|
service definition.
|
||||||
|
@ -96,6 +96,10 @@ RDFormPost::RDFormPost(RDFormPost::Encoding encoding,bool auto_delete)
|
|||||||
post_error=RDFormPost::ErrorNoTempDir;
|
post_error=RDFormPost::ErrorNoTempDir;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
if(chmod(post_tempdir->path().toUtf8(),0755)!=0) {
|
||||||
|
post_error=RDFormPost::ErrorNoTempDir;
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
//
|
//
|
||||||
// (Perhaps) autodetect the encoding type
|
// (Perhaps) autodetect the encoding type
|
||||||
@ -745,7 +749,8 @@ bool RDFormPost::GetMimePart(QString *name,QString *value,bool *is_file,
|
|||||||
}
|
}
|
||||||
if(f2[0]=="filename") {
|
if(f2[0]=="filename") {
|
||||||
*value=post_tempdir->path()+"/"+f2[1].replace("\"","");
|
*value=post_tempdir->path()+"/"+f2[1].replace("\"","");
|
||||||
fd=open(value->toUtf8(),O_WRONLY|O_CREAT,S_IRUSR|S_IWUSR);
|
fd=open(value->toUtf8(),O_WRONLY|O_CREAT,
|
||||||
|
S_IRUSR|S_IWUSR|S_IRGRP|S_IROTH);
|
||||||
*is_file=true;
|
*is_file=true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -9,7 +9,8 @@ LimitNOFILE=4096
|
|||||||
Type=simple
|
Type=simple
|
||||||
ExecStart=@prefix@/sbin/rdservice
|
ExecStart=@prefix@/sbin/rdservice
|
||||||
Environment=JACK_PROMISCUOUS_SERVER=audio
|
Environment=JACK_PROMISCUOUS_SERVER=audio
|
||||||
PrivateTmp=false
|
PrivateTmp=true
|
||||||
|
JoinsNamespaceOf=@APACHE_PKG@
|
||||||
Restart=always
|
Restart=always
|
||||||
RestartSec=2
|
RestartSec=2
|
||||||
StartLimitInterval=120
|
StartLimitInterval=120
|
||||||
|
Loading…
x
Reference in New Issue
Block a user