File Permissions

Tutorials Shared by the Internet Community

Advertisements

  Top Tutorials     New Tutorials     Submit     Login     Register  

Tutorial Detail

File Permissions

Learn how linux file permission works. Chmod, chown and chgrp commands explained with examples.
http://www.xater.com/articles/file-permissions.html
  • Total Hits: 12952

  • Average Rating :
    URL RatingURL RatingURL RatingURL RatingURL Rating

  •  

  • Total Votes: 140 votes

  • Category: Linux/Basic Concepts

  • Submitted on: 2008-04-25 12:49:27

  • Submitted By: Devesh Khanna

  • Set as Favorite

Description:

In linux, files have many attributes. We can execute the following command in the command line to view them: ls -l

This command will list all files in the current directory. Each line is a file ie:

-rwxrwxrwx 1 root root 9580 abr 30 14:48 myfile
is the type of file.
rwxrwxrwx is the permission of the file. We will see how they work later on this article.
1 is the number of hard links
root root the first root is the user owner of the file, and the second refers to the group.
9580 is the file size
abr 30 14:48 is the date and time of the last modification of the file.
myfile is the name of the file.    More detail...

Rating Detail

 Stars  Percentage  Total Vote
 One star  Vote LeftVote MiddleVote Right 39.29%  55
 Two starsTwo star  Vote LeftVote MiddleVote Right 10%  14
 Three starsThree starsThree stars  Vote LeftVote MiddleVote Right 11.43%  16
 Four starsFour starsFour starsFour stars  Vote LeftVote MiddleVote Right 10.71%  15
 Five starsFive starsFive starsFive starsFive stars  Vote LeftVote MiddleVote Right 28.57%  40

Caste Your Vote

 Rating  Selection  Guidelines
 Poor:     Very disappointing, useless.
 Fair:     Below average, disappointing but not useless.
 Good:     About average in its class.
 Very Good:     Above average for its category.
 Excellent:     One of the best Tutorials in its category.






Advertisements