Explain the following commands 1) chmod 700 file 2
chmod 666 The chmod command enables you to change the permissions on a file You must be superuser or the owner of a file or directory to change its permissions You can Biblical implications aside, setting permissions to 666 or 777 will allow Type chmod permissions file to change permissions of a file or directory
chmod 666 devhdc #just for good measure, not necessary 5 ls -l devhdc # will be mode 666 now 6 udevcontrol reload_rules 7 udevstart Actual results Otherwise, this document provides a full explanation of how the UNIX command chmod works 666
The document discusses permissions in Linux using CHMOD commands It recommends setting file permissions to 644 for PHP files and 666 for error message files 666 is almost always a really bad idea The web site where you read that needs a good flogging Write access for everyone means that