Sample Header Ad - 728x90

Chattr failing with Inappropriate ioctl for device on BTRFS

0 votes
0 answers
380 views
trying to delete a directory that my user is the owner off and I keep failing with Permission denied errors. Even if I sudo rm -rf ./dir I tried looking if the immutable flag is set but chattr fails with chattr: read flags of '.dir': Inappropriate ioctl for device here is how my directory is mounted, it is on a btrfs filesystem and the mount is because I use impermanence on my system
/persist/home/nikola/files on /home/nikola/files type fuse (rw,nosuid,nodev,relatime,user_id=1000,group_id=100,default_permissions,allow_other)
Not sure how to approach debugging this, tried exporting GPG_TTY=$(tty) but that didn't help EDIT: File is located under ~/files/project/dir, the ~/files is mounted on /persist since / is deleted on every boot. /persist is BTRFS subvolume. Files are owned by my user, both when viewed on the /persist and inside ~/files/project I used the commands as such chattr -i ./dir and lsattr ./dir, I tried adding other flags and had the same error pop up. Persist is a subvolume, the files/project is not, just a regular directory
Asked by Nikola-Milovic (111 rep)
Nov 25, 2024, 12:18 PM
Last activity: Nov 25, 2024, 01:52 PM