bdsmail file permissions
This commit is contained in:
parent
78bcc77896
commit
4b58ea23a8
|
@ -356,6 +356,7 @@ function install_bdsmail {
|
|||
echo " to_username=\$(echo \"\$to_line\" | awk -F ' ' '{print \$2}' | awk -F '@' '{print \$1}')" >> /usr/bin/bdsmail_distribute
|
||||
echo ' if [ -d /home/$to_username/Maildir/i2p/new ]; then' >> /usr/bin/bdsmail_distribute
|
||||
echo ' chown $to_username:$to_username $filename' >> /usr/bin/bdsmail_distribute
|
||||
echo ' chmod 600 $filename' >> /usr/bin/bdsmail_distribute
|
||||
echo ' mv $filename /home/$to_username/Maildir/i2p/new' >> /usr/bin/bdsmail_distribute
|
||||
echo ' fi' >> /usr/bin/bdsmail_distribute
|
||||
echo 'done' >> /usr/bin/bdsmail_distribute
|
||||
|
|
Loading…
Reference in New Issue