Issues

Select view

Select search mode

 
38 of 38

FileResource getMode uses ls -ld , setMode uses chmod

Fixed

Description

getMode()

setMode()

switch to modern java posix, which should be much faster

Environment

None

Attachments

1

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 28 December 2024 at 14:59
Updated 11 February 2025 at 16:08
Resolved 17 January 2025 at 13:24

Activity

Show:

Zac Spitzer11 February 2025 at 16:07

Pothys - MitrahSoft17 January 2025 at 13:24

, I have investigated this ticket using Lucee version 6.2.0.286-SNAPSHOT with Java version 21. When testing the file access mode, it worked fine, and no issues were encountered. Therefore, I am now going to close this ticket.

Pothys - MitrahSoft2 January 2025 at 14:57

, This is an existing issue and not a regression related to this ticket.

Zac Spitzer2 January 2025 at 14:46

is that a regression from these changes? or just the existing problem?

mode is lazily calculated/read when accessed since

Pothys - MitrahSoft2 January 2025 at 12:59

, I have investigated this ticket with Lucee version 6.2.0.267-SNAPSHOT. When I tested the file access mode, It worked fine with a smaller directory list; however, with a larger directory list, it took more time, didn’t exit the loop, and seemed to break

Flag notifications