tracker issue : CF-4199450

select a category, or use search below
(searches all categories and all time range)
Title:

Cfdirectory create in cPanel public_html directory fails

| View in Tracker

Status/Resolution/Reason: Closed/Withdrawn/NotABug

Reporter/Name(from Bugbase): Cody W / Cody W ()

Created: 08/09/2017

Components: File Management, CFDirectory

Versions: 11.0

Failure Type: Non Functioning

Found In Build/Fixed In Build: 11,0,10,300066 /

Priority/Frequency: Normal / Unknown

Locale/System: / Linux CentOS 6.4

Vote Count: 0

Problem Description:

Can't create a new directory directly within the "public_html" directory of a cPanel site. Sandbox security is fine and I can create the directory if I run "mkdir" as the ColdFusion user.

Steps to Reproduce:
1. create new cPanel account
2. try the below code directly in index.cfm
<cfdirectory action="create" directory="#expandPath("./myNewDir")#">

Actual Result:
coldfusion.tagext.io.FileUtils$CannotCreateDirectoryException: The specified directory "REDACTED" could not be created.

Expected Result:
new directory

Any Workarounds:
none known

Attachments:

Comments:

I may have prematurely submitted this as a bug. In hindsight, this may actually be a file permission issue. Feel free to close this.
Comment by Cody W.
438 | August 09, 2017 12:36:41 AM GMT