LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   10.1 - permission commands (https://www.linuxquestions.org/questions/linux-newbie-8/10-1-permission-commands-334289/)

High-gain 06-16-2005 02: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 02:18 PM

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

http://www.oreillynet.com/linux/cmd/...p?path=c/chmod

KC

juanbobo 06-16-2005 02: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 02: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

regards

High-gain 06-16-2005 02: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 04:22 AM.