10.1 - permission commands
Hi There - I wonder if someone could help me with the following please.
I have installed a tarball from root which the 'install instructions' said to do. I am not sure what the command is to change the permission from root to my home directory would be. I think it is chmod, but I don't know the rest of the command so could anyone point me in the right direction please. Many thanks |
to add execute permission:
# chmod +x <file> http://www.oreillynet.com/linux/cmd/...p?path=c/chmod KC |
Here are some user/permission commands, you can type "man <the command>" at the console to learn more about each -
adduser - Create a new user useradd - Create a new user moduser - Modify a user's settings deluser - Delete a user groupadd - Create a new group groupmod - Modify a group's settings groupdel - Delete a group groups - Show groups passwd - Change your password shadowconfig - Toggle shadow passwords ulimit - Show/set user limitations umask - The default permission mask for created files chmod - Change the permissions of a file chown - Change the owner of a file chgrp - Change the group a file belongs to chacl - Change the access control list of a file chattr - Change the attributes of a file on a second extended file system chpasswd - Update password file in batch chroot - Run a command with a special root directory chsh - Change login shell chvt - Change foreground virtual terminal chfn - Change real user name and information chage - Change user password expire information users - Show users logged on to the system whoami - Shows current user name who - Shows current user name w - Shows users logged in id - Display current user and group id names last - Show recent users visudo - Edit the sudo list |
pl. specify more about ur problem
what permisions do u want to change? if u want to know more about chmod try man chmod regards |
Many thanks for your quick reply, most appreciated. Think I have the idea now.
Thanks again - good luck |
All times are GMT -5. The time now is 03:31 PM. |