Skip to content

create pop3 and mbox message cache files with owner-only permissions#205

Open
arib06 wants to merge 1 commit into
eclipse-ee4j:masterfrom
arib06:cache-file-owner-only-perms
Open

create pop3 and mbox message cache files with owner-only permissions#205
arib06 wants to merge 1 commit into
eclipse-ee4j:masterfrom
arib06:cache-file-owner-only-perms

Conversation

@arib06

@arib06 arib06 commented Jul 6, 2026

Copy link
Copy Markdown

the pop3 and mbox message caches created their temp files with File.createTempFile, which honors the umask and leaves cached mail world-readable (0644) on POSIX; create them owner-only via Files.createTempFile instead.

Signed-off-by: mohammed arib <arib@bugqore.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant