Skip to content

AccessDeniedException deleting sass.bat #381

@s-and-r

Description

@s-and-r

Using sass-embedded-bundled 3.2.0:

BundledCompilerFactory is unable to delete the temporary folder (AccessDeniedException) because sass.bat has a read-only attribute.

I'm not sure why; none of the other files in that folder have a read-only attribute. I suspect it was added by anti-virus software somehow. We're using a product from Sophos, it's company managed.

As far as I can tell after running some live expressions with a debugger, all that's needed to prevent the error is a file.toFile().setWritable(true) call above the Files.delete(file) line in DirCleaner.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions