Umask and Special File Permissions - Linux Tutorial 23

แชร์
ฝัง
  • เผยแพร่เมื่อ 8 พ.ย. 2024

ความคิดเห็น • 12

  • @codebreakthrough
    @codebreakthrough  3 ปีที่แล้ว

    Full Playlist - th-cam.com/video/__iKSnQXe_o/w-d-xo.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 27 วันที่ผ่านมา

    Thanks, man. This really helped me!

  • @everdrone97
    @everdrone97 2 ปีที่แล้ว

    As always, great work and very helpful

  • @KowboyUSA
    @KowboyUSA 3 ปีที่แล้ว +2

    Very helpful video 👍👍

  • @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

  • @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

  • @carmiwisemon740
    @carmiwisemon740 2 ปีที่แล้ว

    Was very helpful

  • @peterchaima2699
    @peterchaima2699 7 หลายเดือนก่อน

    Thank you

  • @santosjaguar2000
    @santosjaguar2000 2 ปีที่แล้ว

    thanks