MantisBT - v3.2 Release
View Issue Details
0001269v3.2 ReleaseCore Infrastructurepublic2013-03-03 09:282014-07-16 21:30
Reporterscotts 
Assigned Tocaseydk 
PrioritynormalSeveritymajorReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version 
Target Version3.2Fixed in Version3.2 
Summary0001269: queuescanner won't work when files are present
Descriptionqueuescanner sends email messages showing errors whenever any file has been uploaded. No problem when no file exists. When a file is present, it looks like queuescanner tries to execute that file. For example,

If I upload "tryme.txt", with the contents:
elephant
canary
quit


The following results:
scott@brahe:/var/log$ php /var/www/secure/scottprojects/queuescanner.php
sh: elephant: not found
sh: canary: not found
sh: quit: not found



TagsNo tags attached.
Attached Files

Notes
(0002822)
scotts   
2013-03-03 09:35   
removing u and g execute priv on files directory does nothing. Removing o execute priv changes the error message (directory name edited):



scott@brahe:/var/www/secure/xxxxxxx$ sudo chmod o-x files
scott@brahe:/var/www/secure/xxxxxxx$ php /var/www/secure/xxxxxx/queuescanner.php
PHP Warning: fopen(/var/www/secure/xxxxxx/files/0/1625196093513394049976d): failed to open stream: Permission denied in /var/www/secure/xxxxxxxx/modules/files/files.class.php on line 373
PHP Warning: fread() expects parameter 1 to be resource, boolean given in /var/www/secure/xxxxxx/modules/files/files.class.php on line 374
PHP Warning: fclose() expects parameter 1 to be resource, boolean given in /var/www/secure/xxxxxxx/modules/files/files.class.php on line 375
/usr/bin/strings: Warning: could not locate '/var/www/secure/scottprojects/files/0/1625196093513394049976d'. reason: Permission denied
PHP Warning: opendir(/var/www/secure/scottprojects/files/temp): failed to open dir: Permission denied in /var/www/secure/xxxxxxx/modules/reports/reports.class.php on line 31
(0003119)
caseydk   
2013-12-06 22:30   
Are you seeing this under the more recent development version?
(0003444)
caseydk   
2014-06-11 18:28   
Resolved in development:
https://github.com/web2project/web2project/commit/c1852d8863abc7a0802763627b6dd520447b58d8

Issue History
2013-03-03 09:28scottsNew Issue
2013-03-03 09:35scottsNote Added: 0002822
2013-03-04 21:07caseydkProjectv2.4 Release (Closed) => Pending Requests
2013-07-20 21:56caseydkProjectPending Requests => v3.1 Release
2013-12-06 22:30caseydkNote Added: 0003119
2013-12-06 22:30caseydkStatusnew => feedback
2013-12-10 23:01caseydkProjectv3.1 Release => Pending Requests
2014-04-05 17:33caseydkCategoryGeneral => Core Infrastructure
2014-04-05 17:33caseydkProduct Version2.4 =>
2014-06-11 18:27caseydkProjectPending Requests => v3.2 Release
2014-06-11 18:28caseydkNote Added: 0003444
2014-06-11 18:28caseydkStatusfeedback => resolved
2014-06-11 18:28caseydkFixed in Version => 3.2
2014-06-11 18:28caseydkResolutionopen => fixed
2014-06-11 18:28caseydkAssigned To => caseydk
2014-06-12 07:25caseydkTarget Version => 3.2
2014-07-16 21:30caseydkStatusresolved => closed