fixed file and directory permissions
fixed status command