[Users] [Bug 4633] New: Claws Mail no longer honouring umask when saving attachments

noreply at thewildbeast.co.uk noreply at thewildbeast.co.uk
Fri Oct 7 00:46:01 CEST 2022


https://www.thewildbeast.co.uk/claws-mail/bugzilla/show_bug.cgi?id=4633

            Bug ID: 4633
           Summary: Claws Mail no longer honouring umask when saving
                    attachments
           Product: Claws Mail
           Version: 4.1.0
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: blocker
          Priority: P3
         Component: Other
          Assignee: users at lists.claws-mail.org
          Reporter: thewildbeast.reg at kjpetrie.co.uk

I run Claws Mail in a dedicated user account so messages cannot access my main
user's files. I have made my main user a member of the dedicated user's group
so it has group permission to access saved attachments and copy them over. This
has worked well for a year or two.

However, in the last few weeks an upgrade seems to have changed this behaviour.
Now, all saved attachments have no group or world permissions even though the
umask remains at 022. This means I can no longer access saved attachments. I
have set my Inbox chmod to 644 but the attachments are still saved 600. This is
a blocker for me because if I cannot access received attachments I cannot work.

I hope this regression can be found and patched quickly as I need this to work.

Steps to Reproduce

1. Open a message with an attachment
2. Right-click the attachment and select Save As or Save All
3. Choose location and click Save

Expected Result

Attachment will be saved according to umask.

Actual Result

Attachment is saved with mode 600.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Users mailing list