Asked By
paul56
0 points
N/A
Posted on - 08/15/2011
Hi guys,
I use Red Hat Linux operating system. I want to change my files and folder user permission. But I do not know how can I change it. But it is very needed to me. Can anybody advice me how can I change it. Please help me.
How can I change file and folder permissions in Red Hat Linux
Below is a link from redhat.com that explains how to change permissions in files and folders using the shell prompt. The guide is actually for Red Hat Enterprise Linux 4 but the methods of setting and changing file permissions and ownership are the same in all versions of Red Hat and all other Linux variants.
Changing permissions is easy if you have access to an administrator account or if your current account has administrative privileges. You will also be using the "chmod" command. The options may take some getting used to but thankfully the link above will guide you through it.
How can I change file and folder permissions in Red Hat Linux
Mr. Paul,
Mainly the commands used to change permissions and ownership are “chmod” and “chown” respectively, but there are lots of synopsis and switches used with them accordingly. When you give the command
#ls –l
in Linux console the very first column shows the permissions of that file or folder which is like this.
drwxrwxrwx or _rw_r__r__. The first “d” means directory and r,w,x means read, write and execute permission to user, group and others. The permissions can be assigned alphabetically as well as numerically. It is very detailed thing to discuss here. Shortly you can see the image attached for guidance.
And follow the link Download Link1