File Permissions

Change Permissions

To remove the read, write and execute rights for the group and others:

$ chmod go-rwx ⟨files⟩

For copied directories and files from ntfs partition:

$ find ⟨dir⟩/ -type d -print0 | xargs -0 chmod 0755
$ find ⟨dir⟩/ -type f -print0 | xargs -0 chmod 0644

Change Owner

# chown -c ⟨user⟩:⟨group⟩ ⟨files⟩