Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   CentOS (http://www.linux-archive.org/centos/)
-   -   CentOS 6: file and directory permissions (http://www.linux-archive.org/centos/574992-centos-6-file-directory-permissions.html)

"Lisandro Grullon" 09-13-2011 11:49 AM

CentOS 6: file and directory permissions
 
Have you consider doing some reading in stick bits?

Sent on the Sprintģ Now Network from my BlackBerryģ

-----Original Message-----
From: Helmut Drodofsky <drodofsky@internet-xs.de>
Sender: centos-bounces@centos.org
Date: Tue, 13 Sep 2011 13:31:17
To: 'CentOS mailing list'<centos@centos.org>
Reply-To: CentOS mailing list <centos@centos.org>
Subject: [CentOS] CentOS 6: file and directory permissions

_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos

_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos

John Doe 09-13-2011 12:25 PM

CentOS 6: file and directory permissions
 
From: Helmut Drodofsky <drodofsky@internet-xs.de>

>I find nowhere the explanation of the dot in file permissions like:
>-rw-r--r--. 1 root root¬* 457 Aug¬* 4 17:27 config
>I have searched in forums, Red Hat deployment guide, storage administration guide etc ¬*‚Ķ


Google "dot in permissions"...
Results will tell you to read the ls info page, which says:

¬*¬*¬*¬* 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.


JD

_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos

David 09-13-2011 12:30 PM

CentOS 6: file and directory permissions
 
On 13 September 2011 21:31, Helmut Drodofsky <drodofsky@internet-xs.de> wrote:
>
> I find nowhere the explanation of the dot in file permissions like:
> -rw-r--r--. 1 root root¬* 457 Aug¬* 4 17:27 config
>
> I have searched in forums, Red Hat deployment guide, storage administration
> guide etc ¬*‚Ķ

>From info coreutils --> ls --> "what information is listed":

"GNU `ls' uses a `.' character to indicate a file with an SELinux
security context, but no other alternate access method."
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


All times are GMT. The time now is 10:07 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.