-   Linux - Newbie (
-   -   10.1 - permission commands (

High-gain 06-16-2005 03:01 PM

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

kencaz 06-16-2005 03:18 PM

to add execute permission:
# chmod +x <file>


juanbobo 06-16-2005 03:23 PM

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

masand 06-16-2005 03:24 PM

pl. specify more about ur problem

what permisions do u want to change?

if u want to know more about chmod try

man chmod


High-gain 06-16-2005 03:27 PM

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 12:57 PM.