Setting the Correct Permissions on Linux Mountpoints

แชร์
ฝัง
  • เผยแพร่เมื่อ 17 ก.ย. 2024
  • Setting the correct permissions on Linux mountpoints is is not quite as easy as you might at first think. We can be clever and the permissions on the directory when it is first created. That does not set in the mounted file system though, so permissions must be set after
    Additionally you can find my video courses on Pluralsight: pluralsight.com... and take time to see my own site www.theurbanpen...
    ~-~~-~~~-~~-~
    Please watch: "RHCSA 9 Working With Podman Containers"
    • How To Use Podman Cont...
    ~-~~-~~~-~~-~

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

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

    Woooww I was mounting incorrectly for so many years… thank you very much!!! I will test it on AIX because I’m pretty sure that on AIX when the directory have no permissions the mount point inherits and cause problems…. Thank you again!!!!

  • @KolobocK8
    @KolobocK8 2 ปีที่แล้ว +1

    Hello. Nice video, thanks! I preffer to use `chattr +i /shared` for unmounted directory in case no one even root can write into the directory, when you have mounted, all attributes are inherited from the partition mounted clearing `immutable` flag on the directory.

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

    Thanks Adrew! small change on the simple command to make thing so different, that is Call "Expert". Thanks again!!

  • @otvs5838
    @otvs5838 2 หลายเดือนก่อน

    Awesome! Thank you for posting this video and this will very useful. 🎉

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

    Hello, thank you for another great video. I wrote to you in comments under last video that subtitles would be great and you didn't seemed to be pleased by this idea. But under this video subtitles are available, I don't if it is procedurally generated by TH-cam but nice to have it :) It would be very interesting to see more videos treating about issues in Linux on intermediate level, maybe LUNs someday? :)

    • @theurbanpenguin
      @theurbanpenguin  2 ปีที่แล้ว +1

      Subtitles are hard work 😂. I appreciate your feedback. I have many Linux videos already created. They can also do with a refresh and subtitles that make sense 😊. Maybe iscsi targets and servers next video. Thank you again for valid feedback

  • @dufflepod
    @dufflepod 2 ปีที่แล้ว +1

    Thanks, that was very clear. But how do permissions specified in the mount options (ro, rw, noexec, etc) layer into this?

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

      The most respective permission wins. So a rw file system mounted read-only will only to readable. A read-only file system mounted as rw will still only be readable

  • @pbezunartea
    @pbezunartea ปีที่แล้ว

    As always, great video!

  • @mtbcyclist
    @mtbcyclist ปีที่แล้ว

    Well done. Subscriber earned!

  • @ภลพลภาศรี-ข4น
    @ภลพลภาศรี-ข4น 4 หลายเดือนก่อน

    When I press ctrl+d the terminal shuts down. Where should I do 5:06

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

    Would you please create some latest video lessions to show how we can set up a virtualbox networked cluster with vagrant and both ubuntu and rocky linux? Moreover, I failed to install PXC 8 on ubuntu 20.04 with 3 nodes, using static private ips. I could ping each others but MySQL (galera cluster) weren't being connected. Please it would help a lot to quickly create local sandbox environment to test Failover and HA features.
    Besides, it would be a great help if you would create some videos to install HAProxy, Envoy Proxy, ProxySQL, Galera Cluster, PXC on vagrant environment using Ansible. Thanks a lot for all your nice work. Your videos really help me to understand thing precisely. Thanks.

  • @ARemi-zp6wb
    @ARemi-zp6wb 2 ปีที่แล้ว

    I always love your video. Always things to learn. Can you please make deep dive video on sudo please? that will include Cmnd, User and host aliases also detail on includedir /etc/sudoers.d and reference some files under /etc/sudoers.d. Thank you

  • @asgharalisyed
    @asgharalisyed ปีที่แล้ว

    I am much more sadder after watching this 😂😢😭, thank you

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