Setting the Correct Permissions on Linux Mountpoints

Поделиться
HTML-код
  • Опубликовано: 27 авг 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 Год назад +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.

  • @otvs5838
    @otvs5838 Месяц назад

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

  • @jjames7206
    @jjames7206 Год назад

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

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

  • @user-tk1ll3lq9u
    @user-tk1ll3lq9u 4 месяца назад

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

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

  • @iamrafiqulislam
    @iamrafiqulislam Год назад

    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.

  • @mtbcyclist
    @mtbcyclist Год назад

    Well done. Subscriber earned!

  • @pbezunartea
    @pbezunartea Год назад

    As always, great video!

  • @ARemi-zp6wb
    @ARemi-zp6wb Год назад

    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 Год назад