The other day I made some changes to our productio...
# cfml-beginners
r
The other day I made some changes to our production servers to change the user that coldfusions run as in a Windows environment. Does any one have a link that shows which directories/registry keys/services need their ACLs changed? Since the change I have been having some issue and im trying to track them down.
e
Unless you produce code, errors, and expected results, your post is far too vague to be useful. The only suggestions would be to either UNDUE what you did, use CFDUMP to troublshoot,
r
I have multiple issue and I am trying to track the source down. I dont want help on any specific issue but what I would like is if someone could point me to a resource which documents what permissions coldfusion need setup on a windows ennvironment. The coldfusion2021 lockdown guide does not document what permissions it automatically sets up
So i can confirm if I did it correctly
Sorry, still in sleepy mode. You need to audit your volume permissions. If you properly set up your Windows Server, this is enabled, if not then you will need to enable audit polices and then you can re-install and see what has changed. https://petri.com/how-to-audit-permission-changes-on-windows-file-servers/
a
I'd've thought that lot ought to be listed in the guide, yeah. It's a bit opaque if it just does it for you and there's no list of what it's done. @Mark Takata (Adobe) ..?
👍 1
r
@Evil Ware thanks, but thats not exactly what I was looking for. The issue with the lockdown tool is that it make a backup of the ACL for every single file in the webroot. Our webroot has a crapton of files and so the lockdown tool is basically useless for me. I setup the permissions manually but I think I may have done something wrong which is why I am asking for the information 👍
💯 1
e
the best way is to use NTFS audits
c
@Ryan Albrecht I think some of the permissions requirements are covered in older lockdown guides (for CF 2016).
r
I have found file permission error related to hibernate from an eventsnapshot generated by fusionreactor.
Copy code
The snapshot was generated by the following log call: 
ERROR 
Unable to delete file C:\ColdFusion2021\cfusion\logs\hibernatesql.log.1: java.nio.file.AccessDeniedException C:\ColdFusion2021\cfusion\logs\hibernatesql.log.1
but the user that coldfusion is running as definitley has access to that directory
c
Does it have full read/write/delete permissions?
r
Apparently not!
😡
Stupid, I thought the
read/write
permission gives the ability to delete a file but actually the
modify
permission allows this
Stoooopid!
e
delete is DELETE , you would also need the CHANGE attribute
r
@Evil Ware what do you mean the change attribute? Are you referring to windows NTFS permissions?
image.png
e
Yes, Modify. 20+ hours awake does have its toll.
😎 1
c
I'd hit the Advanced button and work through the dialogs to make sure that the user has the delete file but not the delete folder permissions.
👍 1
r
Well you learn something everyday. Thanks for the help @Evil Ware @cfvonner
👍 1
m
Well this blew up my phone while I was out walking but got solved so my addition will just be
😂 3
😅 1
r
Haha! Quality meme! 👌