fixed bug with the --full flag for the sync command
fixed permissions issue.
fixed typo.