In Linux world, file permission is a vital issue. Unlike other OS (e.g. Microsoft Windows or MAC OS) Linux and Unix count file permission as a vital issue.
In a Linux box, 'chmod' command is used to change permission of any file, folder or even any device (Linux Operating System count every device as file).
To use 'chmod' command, you can find the basic information from Linux 'man'(Manual) page, by typing following command:
#man chmod
A combination of the letters ‘ugoa’ controls which users’ access to the file will be changed:
the (u)ser who owns it (u),
other users in the file’s (g)roup (g),
(o)ther users not in the file’s group (o), or all users (a).
If none of these are given, the effect is as if ‘a’
were given, but bits that are set in the umask are not affected.
The chmod command also consider permission level in numerical way. You will see a lot of reference in Internet to change your file permission in value '755' where numeric value is count as bellow:
Read Permission: 4 (Four)
Write Permission: 2 (Two)
Execute Permission: 1 (One)
Details of Linux chmod Command Explained Here...
Friday, November 7, 2008
Subscribe to:
Post Comments (Atom)

2 comments:
Hi Sir,
I need the all the unix commends syntax with example. could you please confirm whether you are give me or not.
Thanks,
Mani
Dear Mani
Thank you for your email. Would you please tell me your requirement in details? From your email, you are asking the 'ALL UNIX Command' which is really a large list. Other then that, there is a lot of 'package' based command, which is related to installed program in system.
Please let me know your specific need.
With Thanks
Ahamed Bauani
Post a Comment