Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 11-10-2011, 08:12 PM   #1
Registered: Oct 2011
Posts: 31

Rep: Reputation: Disabled
hopefully simple question - period on certain dirs/files in ls?

I am using Scientific Linux 6.1. I've never seen this particular behavior before switching to Linux from FreeBSD.

"ls -l" of some items lists a period after the permissions. Here are some examples of both files and directories:

-rw-r--r-- 1 user user 366087056 Nov 10 20:30 video1.avi
-rw-r--r--. 1 user user 372620148 Sep 26 23:19 video2.avi

drwxr-xr-x. 2 user user 4096 Nov 7 09:49 dir1
drwxr-xr-x 2 user user 4096 Nov 8 13:59 dir2

In each case, what does the period after permissions for "other" mean? I didn't find anything about it in the "chmod" or "ls" manpages (but maybe I overlooked it)...

Not a problem but deathly curious.
Old 11-10-2011, 08:34 PM   #2
David the H.
Bash Guru
Registered: Jun 2004
Location: Osaka, Japan
Distribution: Debian sid + kde 3.5 & 4.4
Posts: 6,826

Rep: Reputation: 1973Reputation: 1973Reputation: 1973Reputation: 1973Reputation: 1973Reputation: 1973Reputation: 1973Reputation: 1973Reputation: 1973Reputation: 1973Reputation: 1973
It's explained in the info page:

Following the file mode bits is a single character that specifies
whether an alternate access method such as an access control list
applies to the file.  When the character following the file mode
bits is a space, there is no alternate access method.  When it is
a printing character, then there is such a method.

GNU `ls' uses a `.' character to indicate a file with an SELinux
security context, but no other alternate access method.

A file with any other combination of alternate access methods is
marked with a `+' character.
Old 11-10-2011, 08:37 PM   #3
Registered: Oct 2011
Posts: 31

Original Poster
Rep: Reputation: Disabled
Thank you very much!!

(I still don't entirely understand the implication, but at least I know what to read next to find out.)


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
proftpd problem: files are not readable, files show as dirs Altvod Linux - Server 0 06-23-2011 05:59 AM
simple question - how to chown ALL files in a dir? flipwhy Linux - Newbie 5 08-29-2006 05:54 PM
Moving files from one harddrive to another - Simple question Jmcatch742 Linux - Newbie 1 12-20-2005 02:19 PM
Simple console question. Moving files. The_Messiah Linux - General 1 08-17-2005 08:51 PM
.s files - a very simple question (tftp) webamoeba Linux - Newbie 2 11-28-2003 06:39 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:33 AM.

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