admin crashes when file access set to local, trying to access userdata

Description

I made changes to the Lucee admin under Security > Access. Under CFML Environment I changed File access from all to local.

After that I wanted to change the location of my WEB-INF directory so I made changes to the param-value tag under the CFMLServlet section in the file /opt/lucee/tomcat/conf/web.xml. After that I restarted Lucee but when I tried to access the admin I got a http 500 error.

Then I went back on the changes in the web.xml file, restarted Lucee again and now I can access lucee/admin/web.cfm (I get the login screen), but when I try to access /lucee/admin/server.cfm I get this error: can’t access /opt/lucee/tomcat/lucee-server/context/userdata directory must be inside /opt/lucee/tomcat/webapps/ROOT, access is prohibited by security manager.

https://dev.lucee.org/t/lucee-server-admin-cannot-access-lucee-admin-server-cfm/9787

Environment

None

Attachments

1

Activity

Pothys - MitrahSoft 
29 May 2024 at 13:22
(edited)

I checked this ticket with Lucee version 6.1.0.162-SNAPSHOT and it works as expected.

Zac Spitzer 
16 May 2024 at 08:07

images don’t load for web plugins, but that’s ok

 

Zac Spitzer 
16 May 2024 at 07:20

Fixed

Details

Assignee

Reporter

Priority

Fix versions

New Issue warning screen

Before you create a new Issue, please post to the mailing list first https://dev.lucee.org

Once the issue has been verified, one of the Lucee team will ask you to file an issue

Sprint

Created 14 March 2022 at 11:03
Updated 29 May 2024 at 13:22
Resolved 29 May 2024 at 13:22