Sunday, March 28, 2010
Posted by venu k
6 comments | 11:26 AM
To understand this article you should to be familiar with Linux adva-nced file permissions, otherwise go throw bellow link before followingthis article.Advanced File PermissionsMy Obejective: I have a folder which I want to share with "rw" permissions for aselected group of users. Let's say the folder is /home/project and Iwant to share it with the group development. What I want is not onlyhaving users accessing files in /home/project with rw access, but alsoto ensure that all files created in /home/project will have ownershipusername:development...
Saturday, March 27, 2010
Posted by venu k
84 comments | 10:51 AM
After you have worked for a while with Linux you discover probablythat there is much more to file permissions than just the "rwx" bits.When you look around in your file system you will see "s" and "t"$ ls -ld /tmpdrwxrwxrwt 29 root root 36864 Mar 21 19:49 /tmp$ which passwd/usr/bin/passwd$ ls -l /usr/bin/passwd-rwsr-xr-x 1 root root 22984 Jan 6 2007 /usr/bin/passwd What is this "s" and "t" bit? The vector of permission bits is really4 * 3 bits long. Yes there are 12 permission bits,not just 9.The firstthree bits are special and are frequently...
Thursday, March 18, 2010
Posted by venu k
15 comments | 8:41 AM
What are file permissions:Every file or folder in Linux has access permissions. There are threetypes of permissions (what allowed to do with a file):read access (symbolized by the letter r)write access (symbolized by the letter w)execute access (symbolized by the letter x)Permissions are defined for three types of users:the owner of the file (symbolized by the letter u )the group that the owner belongs to (symbolized by the letter g)other users (symbolized by the letter o)Thus, Linux file permissions are nine bits of information. The tablebelow...
Subscribe to:
Posts (Atom)