• When my client adds a new download and then tries to download the file, a 403 Permission Forbidden page is displayed. After looking at the file permissions I notice that the new download’s permission are set to 660 (no read for public) as the previous files all have this permission.

    Obviously we’re able to download the file after changing the permission but what could be causing this problem?

    http://wordpress.org/extend/plugins/download-monitor/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Mike

    (@jolley_small)

    You will probably find it does that for images uploaded with the wordpress media uploader too – download monitor uses the wordpress uploader.

    The wordpress function for uploading files contains:

    // Set correct file permissions
    $stat = stat( dirname( $new_file ));
    $perms = $stat['mode'] & 0000666;
    @ chmod( $new_file, $perms );

    So Im guessing it’s a problem with your server config/perhaps chmod is not supported.

    Thread Starter hobojoe

    (@hobojoe)

    As it turns out, it was a problem with the server. My client hosts with Network Solutions, and since their servers were recently attacked they must have changed some things.

    For anyone else who is experiencing this problem and using Network Solutions, reset your file permissions: nsHosting -> FTP & Content Publishing -> Reset File Permissions. After doing this, you will have to then setup the wordpress default permissions.

    Thanks for your help Mike. Oh so you know, I registered on your forum and it looks like GMail thinks the confirmation/password is spam.

    Help! If anyone is still reading this thread. This same thing happened to me, except all I did was add a new page. My client’s site is also hosted with Network Solutions. So I reset the file permissions as such: nsHosting -> FTP & Content Publishing -> Reset File Permissions.

    Can anyone help me with what to do next, please? hOBOJoE wrote: “After doing this, you will have to setup the wordpress default permissions.” Where do I find this?

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Plugin: WordPress Download Monitor] 403 Access forbidden’ is closed to new replies.