remove chown statement
This commit is contained in:
parent
b670438ca2
commit
e4f00357da
|
|
@ -195,7 +195,6 @@ def get_maildir_path(to_address, mail_dir):
|
|||
#(user_dir / subdir).mkdir(exist_ok=True)
|
||||
subdir_path = user_dir / subdir
|
||||
subdir_path.mkdir(exist_ok=True)
|
||||
os.chmod(subdir_path, 0o775) # rwxrwxr-x
|
||||
|
||||
return user_dir
|
||||
|
||||
|
|
@ -222,8 +221,6 @@ def store_email(email_content, to_address, message_id, s3_key, mail_dir):
|
|||
with open(email_path, 'wb') as f:
|
||||
f.write(email_content)
|
||||
|
||||
os.chmod(email_path, 0o664) # rw-rw-r--
|
||||
|
||||
logger.info(f"E-Mail gespeichert: {email_path}")
|
||||
return True
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue