WordPress.org

Forums

wp-security-scan - error message - file.perms.... (8 posts)

  1. enowp
    Member
    Posted 7 years ago #

    Yes, I have got the wp-security-scan plugin activated at last (version 2.2.56.30).
    But now I'm struggling with another error message:
    "Warning: fileperms() [function.fileperms]: stat failed for ../.htaccess in C:\..........\wp-content\plugins\wp-security-scan\functions.php on line 22" and many file perms.
    My WP is hosted by a server using win xp home.
    Thanks,
    Eno

  2. Michael Torbert
    WordPress Virtuoso
    Posted 7 years ago #

    That function is for Linux operating systems only. Windows file permissions don't work the same.

    Since 99.999999% of the web servers which will be running WordPress (and WP Security Scan) are 'nix operating systems, this plugin doesn't currently support Windows for OS specific functions.

    Most of the plugin will work in Windows, with things that deal with WordPress, PHP, etc. At this time, parts of the plugin dealing with the file system are only functional in 'nix operation systems.

    I'm not sure why you're using Windows XP (didn't you say Vista in the other thread?) for your webserver, but I highly recommend you make the switch to Linux for web hosting purposes.

  3. enowp
    Member
    Posted 7 years ago #

    What a pity!
    I've found WP and the plugin wp-security-scan very usefull, but I think I'll choose to switch to another blog software - before considering a 'nix platfrom for my web hosting.
    Sorry for the little confusion about XP / Vista. When I said Vista in the other thread, I was too tired after 'hours' trying to get the plugin activated - I think.....
    My web services are hosted by a server running Windows XP, but the Computer I was using posting in the thread has Windows Vista.
    Eno

  4. atrais
    Member
    Posted 6 years ago #

    99.999999% of the wordpress blogs does not run on Linux. Since more and more people convert from Apache to IIS due to security reasons I am writing a tutorial for windows users and wp-security-scan plugin.

    Its very easy to hack Apache on Linux so I recommend all my customers to convert to Windows and IIS.

    Hallsofmontezuma you should check your sources and stop lying.

  5. iam5foot8
    Member
    Posted 6 years ago #

    I have a Linux server but I'm getting the same error. Anyone know why?

  6. ubernietzschean
    Member
    Posted 6 years ago #

    Atrais

    Please set down the crack pipe for a moment and listen to the voice of actual knowledge and real world experience:

    "Hacking" (did you mean, "cracking?") Apache on Linux is *far* from trivial. Between address space randomization techniques, SELinux, chroot()'ing, stack-smashing protection, the NX bit in hardware form and in software emulation, the SuExec mechanism, etc etc. Hacking any well-written program under Linux is a genuine challenge for even those with two or more brain-cells to rub together.

    I invite you to prove me wrong but sincerely doubt you will be able to, let alone articulate *any* compelling reason for running WordPress under Windows. Your need to justify the use of Windows for this absurd purpose is simply a manifestation of your inability to part with an easy, clicky GUI and actually flex your "brain."

    hallsofmontezuma is completely, totally and 100% correct. Stop libeling him, shut up and appreciate quality, free technical advice.

    For whatever its worth, I have been a Linux Systems Administrator for over a decade and my previous employers include Red Hat in a Sr. Engineer role. I have just a little bit of insight into this subject.

  7. Allison Gamblin
    Member
    Posted 6 years ago #

    That function is for Linux operating systems only. Windows file permissions don't work the same.

    Since 99.999999% of the web servers which will be running WordPress (and WP Security Scan) are 'nix operating systems, this plugin doesn't currently support Windows for OS specific functions.

    I'm a newbie at the wordpress game much less linux. Can you verify that I'm understanding you correctly that this error [which I too, am getting] can indeed be fixed in Ubuntu?

    At the moment I'm using a Vista PC to access my server, which is Linux [Ubuntu]. I've found permission errors with the OS's not liking each other. Is this error due to that?

  8. whooami
    Member
    Posted 6 years ago #

    ... that this error [which I too, am getting] can indeed be fixed in Ubuntu?

    Paste your error.

    You are NOT getting the same error, or you arent running Ubuntu, as the error above, uses VERY specific pathing thats not seen in Linux.

    I refer you to this sticky:

    http://wordpress.org/support/topic/232963?replies=4

    [sticky] How to get better help with your questions in the Forums!:

    Please don't high jack a post with a problem that is "exactly the same as mine." It more than likely is not.

Topic Closed

This topic has been closed to new replies.

About this Topic