Re: file permissions

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 16 Jul 2018, Kevin Fenzi wrote:

On 07/16/2018 12:05 PM, Max Pyziur wrote:

Greetings,

Twenty minutes of googling and still no answers.

When I do a directory listing using 'ls -l'

and I see

-rw-rw-r--
-rw-r--r--.


What's the final period indicate.

I realize that this is a newbie question, but I'm stumped at finding an
answer.

From 'info ls' (yeah, I know, info pages are horrible...):

"
    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 a security

    context, but no other alternate access method.

    A file with any other combination of alternate access methods is

    marked with a ‘+’ character.
"

So, it indicates the file has a selinux context on it. (See which one
with ls -Z)

Much thanks for the reply; this was very helpful.

If I recall on the machines that I did a fresh install of Fedora, the first boot defaulted to selinux being on. I think that in every case I've disabled it.

Given that the prevalence of this attribute is on files and directories from those periods when the first Fedora installation, that reinforces the point.


kevin



Thank you again.

Max
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx/message/4DPXGT4RH7V6NGPZLBT6XFHLVWAL465E/
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux