Umask and Special File Permissions - Linux Tutorial 23

Поделиться
HTML-код
  • Опубликовано: 7 ноя 2024

Комментарии • 12

  • @codebreakthrough
    @codebreakthrough  3 года назад

    Full Playlist - ruclips.net/video/__iKSnQXe_o/видео.html
    Links
    www.redhat.com/sysadmin/suid-sgid-sticky-bit

  • @hegjon
    @hegjon 2 года назад +6

    You can specify with -d flag that you intended to get info about the folder and not its content, ls -ld files

  • @danikoburrell-archie7385
    @danikoburrell-archie7385 11 месяцев назад +1

    Helped out a lot! I'm currently in a linux for jobs course and this was extremely insightful!

  • @mast_mast_music
    @mast_mast_music 5 месяцев назад +1

    setuid (u+s):4
    Applies to executable files.
    Users executing the file run with the file owner's permissions.
    Indicated by an s in the user’s execute position (rws).
    setgid (g+s):2
    Applies to executable files and directories.
    For executables: Users executing the file run with the file's group permissions.
    For directories: New files inherit the directory's group.
    Indicated by an s in the group’s execute position (r-s).
    Sticky Bit (+t):1
    Applies to directories.
    Only file owners, directory owners, or root can delete or rename files within the directory.
    Indicated by a t in the others’ execute position (rwt).
    For example /tmp directory where multiple users have their files and folders but no other user shall be able to delete folder or file from another user.

  • @christiangeorge5313
    @christiangeorge5313 26 дней назад

    Thanks, man. This really helped me!

  • @KowboyUSA
    @KowboyUSA 3 года назад +2

    Very helpful video 👍👍

  • @everdrone97
    @everdrone97 2 года назад

    As always, great work and very helpful

  • @Fabiandur
    @Fabiandur Год назад +1

    I don't think suggesting a decimal converter to read the binary values is especially desirable :D maybe just tell the viewer to learn elementary binary

  • @ghostintheshelf8660
    @ghostintheshelf8660 9 месяцев назад

    Great series!
    Could anybody explain why on ~ 6:00
    for file5 we had permissions like:
    - rw- rw- r - -
    and after umask 0424 it became:
    - -w - r - - - w -
    We removed 'r' permission on others, but where does this 'w'
    permission on others comes from? we didn't have it previously

  • @peterchaima2699
    @peterchaima2699 7 месяцев назад

    Thank you

  • @carmiwisemon740
    @carmiwisemon740 2 года назад

    Was very helpful

  • @santosjaguar2000
    @santosjaguar2000 2 года назад

    thanks