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

cffile and permissions issue

Participant ,
Aug 17, 2010 Aug 17, 2010

I developed an application in my development server which performs some cffile write operations. The new files get created/written in a directory --let's call it mydirectory-- and then used for other purposes.

I thought I was done with my project. But when I moved my code to the staging server from development, I get an exception. The exception occurs when my script tries to write the file to mydirectory in the new server. I checked the permissions of my user doman and I --and my my group-- have super user privileges so I don't understand why writing access to mydirectory is being restricted.

I wonder if someone else in the community has run into the same thing.

Any thoughts would be greatly appreciated!

TOPICS
Advanced techniques
595
Translate
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
LEGEND ,
Aug 17, 2010 Aug 17, 2010

It doesn't matter what permissions you have, it matter what permissions the CF service has...

--

Adam

Translate
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
Participant ,
Aug 17, 2010 Aug 17, 2010

This is a new concept to me...How do you set permissions to the CF Service?

Translate
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
Enthusiast ,
Aug 17, 2010 Aug 17, 2010
LATEST

What you need to check are the privs of the account that CF Server is running under.  By default (on Windows) it does not run under a user account, and has no privs to access network resources.  You need to go to the services menu and open the entry for CF Application Server, then click on LOGIN.  That is where you enter the info for what Windows user account (and its password) to run under.  Note that this is not a setting that is migrated during an upgrade.

-reed

Translate
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