• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Captcha Permissions

Explorer ,
Feb 11, 2019 Feb 11, 2019

Copy link to clipboard

Copied

We have development, testing, and production servers running Redhat, Apache, and CF11.  Our captcha images used to work on dev and test, but now throw 403 errors and are not displayed.  In production, the images still work and are displayed.

Permissions on dev and test for the images at /opt/coldfusion11/cfusion/tmpCache/CFFileServlet/_cf_captcha are defaulting to 600.  On production, it is defaulting to 644.  Where do these permissions get set?

Views

205

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Feb 11, 2019 Feb 11, 2019

Copy link to clipboard

Copied

You should be able to set them in the shell, if they're not set properly during the install.

Dave Watts, Eidolon LLC

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Feb 12, 2019 Feb 12, 2019

Copy link to clipboard

Copied

We've looked at umask settings for the user that runs CF, but they are set the same across servers. 

The captcha images on our prod server are being created with more permissions that the umask allows.  Creating a file on prod using touch, creates the file using the umask.   Are captcha permissions controlled somewhere else?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Feb 12, 2019 Feb 12, 2019

Copy link to clipboard

Copied

I would not entirely be surprised if that's controlled differently, but I don't know anything about it. Sorry.

Dave Watts, Eidolon LLC

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Feb 12, 2019 Feb 12, 2019

Copy link to clipboard

Copied

LATEST

No worries - I appreciate the response!

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
Documentation