English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

like in windows 2003 ADMINISTRATOR has full rights to assgin any permission to any user or group in any folder or files by adding them.
is above said permission is also possible in LINUX.
if yes
please tell how to that .


regards


Amit

2007-01-18 17:57:37 · 5 answers · asked by amitdelpanwar 1 in Computers & Internet Software

5 answers

You'll have to be root (administrator) or owner of the file/folder to make any permission changes.

You'll need to use the chmod or chown command to do so.

http://www.computerhope.com/unix/uchmod.htm

2007-01-18 18:08:11 · answer #1 · answered by Halfie 3 · 0 0

the root user can do what it wants. To change a permission, you use the chmod command followed by a 3 digit number

chmod 777 /file/name this gives permission to everyone to do anything.

the first number is permissions of the owner
the second is the permission of the group
the third is the permission for the user

0 - no permissions
1 - ability to view
2 - ability to modify
4 - ability to access

chmod 000 gives no permissions to anyone (other than root)

chmod 755 gives all permissions to owner, access and view to group and user

the 3 permissions, you just add what you want each entity to do. If you want the owner to access and modify, the group to view, but the user to do nothing:

chmod 610 /file/name

chmod is shord for change module

2007-01-18 18:12:09 · answer #2 · answered by RMS4EVER 3 · 1 0

Y' in linux there is two ways to set permissions first is
to go in root mode and right click on folder which permission u want to change and in permission mode set the permissions in drop down menu(in all three) and in text box name the user account in both field.

second mode is go to console and type chmod 777 filename.extension
4 = read
2 = write
1 = execute permission (add the number to allow all permissions eg 4+2+1 = 7 to allow full access)

2007-01-18 18:09:45 · answer #3 · answered by iMaXX 4 · 1 0

You have to be logged in as ROOT user or use the sudo command......making you the super user from a terminal window. It depends on the Linux distro that you use.

2007-01-18 18:01:31 · answer #4 · answered by Kevin 3 · 1 0

you will need chown and chmod commands to change the ownership of file and the access mode of the file respectively depending upon the situation. check man pages for both commands for details.

2016-05-24 06:06:19 · answer #5 · answered by Anonymous · 0 0

fedest.com, questions and answers