Access Control Lists in linux

applicable for both files and folders getfacl filename # -m means modification setfacl -m u:oggy:rw filename # give user oggy read and write access to filename setfacl -m g:staff:rw filename # add permission for a group setfacl -m u:oggy filename # remove a entry setfacl -b filename # remove all entries # -R options recursively changes the acl for sub-directories

June 20, 2026 · Mohit

DWL install on Debian

debian 12 was used to build wlroots 0.18 and dwl 0.7 Adding backport and testing repo’s Add following lines to your /etc/apt/sources.list These repo’s are required to pull some version specific packages deb http://deb.debian.org/debian bookworm-backports main deb http://deb.debian.org/debian sid main Install Required Packages Same packages are needed by both wlroots and dwl Some packages are pulled from backport and testing repo’s due to version requirements This list of packages is not verbose (as of now) apt install -t bookworm-backports libwayland-server0 apt install -t sid libliftoff-dev apt install meson cmake libgbm-dev glslang-dev glslang-tools libudev-dev libseat-dev hwdata libdisplay-info-dev libinput-dev libxcb-dri3-dev libxcb-present-dev libxcb-render-util0-dev libxcb-xinput-dev xwayland libxcb-errors-dev libxcb-composite0-dev libxcb-ewmh-dev libxcb-icccm4-dev libxcb-res0-dev Wlroots Building wlroots is recommended as you can customize your build (enabling Xwayland support) ...

February 26, 2025 · Mohit

Debian WiFi Issue

What happened I have faced this issue multiple times after installing debian Each time during installation WiFi worked but after that it didn’t, initially I thought that there was some issue of firmware But this time after installation wifi worked, but nmcli device had a problem, it always showed that the device was unmanaged So I tried different things and finally was able to resolve the issue Solution (Source) Just add the following line to your grub config (/etc/grub.d/10_linux) GRUB_CMDLINE_LINUX_DEFAULT="quiet splash acpi=force" After that generate grub config grub-mkconfig Now just reboot

January 30, 2025 · Mohit

DWL install on Fedora

fedora 41 was used to build wlroots 0.18 and dwl 0.7 Install Required Packages Same packages are needed by both wlroots and dwl sudo dnf install make gcc libinput-devel meson wayland-devel wayland-utils wayland-protocols-devel waylandpp-devel libdrm-devel libxkbcommon-devel pixman-devel xcb-util-cursor-devel xcb-util-errors-devel xcb-util-xrm-devel xcb-util-devel mesa-libgbm-devel lcms2-devel vulkan-loader-devel glslang-devel libseat-devel hwdata-devel libdisplay-info-devel libliftoff-devel xcb-util-wm-devel xorg-x11-server-Xwayland xorg-x11-server-Xwayland-devel cairo-devel Wlroots Building wlroots is recommended as you can customize your build (enabling Xwayland support) Clone and build git clone --branch 0.18 https://gitlab.freedesktop.org/wlroots/wlroots.git cd wlroots/ meson setup build ninja -C build To enable Xwayland support edit meson.build and set x11-backend and xwayland to true in features ...

December 20, 2024 · Mohit