LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-16-2005, 03:01 PM   #1
High-gain
Member
 
Registered: Dec 2004
Location: London,UK
Distribution: Mandriva 2007
Posts: 156

Rep: Reputation: 15
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
 
Old 06-16-2005, 03:18 PM   #2
kencaz
Senior Member
 
Registered: Mar 2005
Location: Las Vegas, NV
Distribution: Mandriva Slackware FreeBSD
Posts: 1,468

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

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

KC
 
Old 06-16-2005, 03:23 PM   #3
juanbobo
Member
 
Registered: Mar 2005
Location: Chicago
Distribution: Gentoo AMD64
Posts: 365

Rep: Reputation: 30
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
 
Old 06-16-2005, 03:24 PM   #4
masand
LQ Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 58
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
 
Old 06-16-2005, 03:27 PM   #5
High-gain
Member
 
Registered: Dec 2004
Location: London,UK
Distribution: Mandriva 2007
Posts: 156

Original Poster
Rep: Reputation: 15
Many thanks for your quick reply, most appreciated. Think I have the idea now.

Thanks again - good luck
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
can't execute c++ binaries, "permission denied"... even though permission is 777 SerfurJ Programming 14 02-20-2009 05:50 AM
Changing permission on commands erraticassassin Slackware 3 07-13-2004 03:46 AM
Commands for 9.0 Peingune Linux - Newbie 1 05-10-2003 11:51 PM
commands omar Slackware 9 02-21-2003 12:55 PM
Commands Susan Linux - General 5 10-11-2001 03:40 AM


All times are GMT -5. The time now is 03:30 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration