Help - Search - Members - Calendar
Full Version: Renaming Tempfile Failed: Permission Denied For Certain Users
Movable Type Community Forum > Other Product Discussion > Bugs and Odd Behavior
jennM
We have had our blog running like clock work for months. Now I have a couple of users that get the following error message when posting a new entry.

Renaming tempfile
'\Inetpub\wwwroot\blogs\lib\index.html.new' failed:
Renaming 'Inetpub\wwwroot\blogs\lib\index.html.new'
to 'Inetpub\wwwroot\blogs\lib\index.html' failed:
Permission denied


I think it is server permission related issue as I am able to use their moveable type username and password logged in on the network as myself and post a new entry on another computer without any error messages.

The permissions for the IUSR account on this folder are already full. It is a Windows 2003 server.

Any ideas?

Thanks, Jennifer!
2470144
Hmmm...

Now I'm getting this error too: When trying to update a template.

It's not a server permission problem since the user has full permissions.

Does anyone know the solution?

Chris
sarah
This error definitely suggests that the permissions on your weblog directory are now insufficient to allow Movable Type to create the temporary file (and ultimately the updated file). It would seem to be suggesting that it permissions may be allowing the file to be written, but not renamed or deleted..

The error (and it's solution) is similar to that described in the following Knowledge Base article:

http://www.sixapart.com/movabletype/kb/reb...ng_to_file.html

If you do not want to have Movable Type creating temporary files (which does provide *some* protection for your files, in case a rebuild fails for any reason), you may wish to experiment with the NoTempFiles setting in mt.cfg, setting it to 1.

http://www.sixapart.com/movabletype/docs/3...otempfiles.html

If you wish to continue using tempfiles, or if that does not solve the problem completely, you will need to have the permissions on the weblog directory (and those below) directory so that it has full read/write/execute/delete permissions (CHMOD 777), or if you're on a Windows server, as described here:

http://www.sixapart.com/movabletype/kb/reb...ing_permis.html
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2008 Invision Power Services, Inc.