4 : Read 2 : Write 1 : Execute To give permissions to a file chmod xxx <filename> For read and write permissions: read 4 + write 2 = 6 (value to be given in the command) For read, write and execute permissions: read 4 + write 2 + execute 1 = 7 (value to be given in the command)