LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices



Reply
 
Search this Thread
Old 11-10-2011, 09:12 PM   #1
gargunkle
LQ Newbie
 
Registered: Oct 2011
Posts: 13

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.
Thanks!!
 
Old 11-10-2011, 09:34 PM   #2
David the H.
Bash Guru
 
Registered: Jun 2004
Location: Osaka, Japan
Distribution: Debian sid + kde 3.5 & 4.4
Posts: 6,823

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

Code:
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, 09:37 PM   #3
gargunkle
LQ Newbie
 
Registered: Oct 2011
Posts: 13

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.)
 
  


Reply


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 06:59 AM
simple question - how to chown ALL files in a dir? flipwhy Linux - Newbie 5 08-29-2006 06:54 PM
Moving files from one harddrive to another - Simple question Jmcatch742 Linux - Newbie 1 12-20-2005 03:19 PM
Simple console question. Moving files. The_Messiah Linux - General 1 08-17-2005 09:51 PM
.s files - a very simple question (tftp) webamoeba Linux - Newbie 2 11-28-2003 07:39 AM


All times are GMT -5. The time now is 01:09 PM.

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