Skip to content

Commit

Permalink
Change chmod 0600 to 600
Browse files Browse the repository at this point in the history
  • Loading branch information
guimspace committed Mar 31, 2019
1 parent 2f736e5 commit f32f52b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/fopus.sh
Original file line number Diff line number Diff line change
Expand Up @@ -620,8 +620,8 @@ fopus_backup_main()
# file permission
echo "fopus: file permission"
chmod 700 "$BACKUP_DIR_HASH/"
find "$BACKUP_DIR_HASH/" -type f -exec chmod 0600 {} \;
find "$BACKUP_DIR_HASH/" -type d -exec chmod 0700 {} \;
find "$BACKUP_DIR_HASH/" -type f -exec chmod 600 {} \;
find "$BACKUP_DIR_HASH/" -type d -exec chmod 700 {} \;

return 0
}
Expand Down

0 comments on commit f32f52b

Please sign in to comment.