Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SecurityInfo plugin: fileperms error with session.save_path #1993

Closed
anonymous-matomo-user opened this issue Jan 10, 2011 · 2 comments
Closed
Labels
Bug For errors / faults / flaws / inconsistencies etc.
Milestone

Comments

@anonymous-matomo-user
Copy link

There is an error. Please report the message and full backtrace in the Piwik forums.

Warning: fileperms() href='function.fileperms'>function.fileperms</a>: stat failed for 2;/var/tmp in /mnt/web6/10/34/51062934/htdocs/piwik/plugins/SecurityInfo/PhpSecInfo/Test/Session/save_path.php on line 69

Backtrace -->
#0 Piwik_ErrorHandler(2, fileperms() href='function.fileperms'>function.fileperms</a>: stat failed for 2;/var/tmp, /mnt/web6/10/34/51062934/htdocs/piwik/plugins/SecurityInfo/PhpSecInfo/Test/Session/save_path.php, 69, Array ())#1 fileperms(2;/var/tmp) called at [PhpSecInfo_Test_Session_Save_Path->_execTest() called at /mnt/web6/10/34/51062934/htdocs/piwik/plugins/SecurityInfo/PhpSecInfo/Test/Test.php:182#3 PhpSecInfo_Test->test() called at [PhpSecInfo->runTests() called at /mnt/web6/10/34/51062934/htdocs/piwik/plugins/SecurityInfo/PhpSecInfo/PhpSecInfo.php:476#5 PhpSecInfo->loadAndRun() called at [Piwik_SecurityInfo_Controller->index()#7 call_user_func_array(Array (0 => Piwik_SecurityInfo_Controller Object ([=> SecurityInfo, => 2011-01-10,[=> Piwik_Date Object ( => 1294661963,[=> UTC), => 1,[=> Piwik_Site Object ( => 1)),[=> index), Array ()) called at /mnt/web6/10/34/51062934/htdocs/piwik/core/FrontController.php:125#8 Piwik_FrontController->dispatch() called at [/mnt/web6/10/34/51062934/htdocs/piwik/index.php:60]

@robocoder
Copy link
Contributor

Yes, the test doesn't handle save_path's that use the subdirectory feature, e.g., "2;/var/tmp". http://ca3.php.net/manual/en/session.configuration.php#ini.session.save-path

This is an upstream bug. I don't believe it's a security issue, but will leave ticket marked as sensitive at your request.

@robocoder
Copy link
Contributor

(In [3693]) fixes #1993

@anonymous-matomo-user anonymous-matomo-user added this to the Piwik 1.2 milestone Jul 8, 2014
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug For errors / faults / flaws / inconsistencies etc.
Projects
None yet
Development

No branches or pull requests

2 participants