קוד: |
/root/.local/share/Trash/files/temp/var/lib/mo
|
קוד: |
drwxrwxrwt 1 root root 0 Nov 13 16:30 mo |
קוד: |
---------------- ./mo |
קוד: |
rm: cannot remove 'mo': Operation not permitted |
קוד: |
chattr -i filename |
Immutable : | ||
ראה Immutable |
Anonymous : |
https://en.wikipedia.org/wiki/Sticky_bit |
קוד: |
drwxrwxrwx 1 root root 4 Nov 13 17:18 lib |
Anonymous : | ||
המערכת היא btrfs .
את הקובץ או את התיקיה עצמה ? התיקיה עצמה נוצרה כתוצאה מ systemd-nspawn (אחרי כמה וכמה משחקים שלי , ניסיונות למחוק את ה container הזה) . אין כרגע קובץ בתוך בתיקיה , כשניסתי לייצר קובץ פשוט עשיתי touch (וכאמור הצלחתי למחוק אותו) . |
Anonymous : |
מקריאה קצרה ב unlink(2), נראה שהבעיה היחידה שיכולה לקרות היא "The system does not allow unlinking of directories".
חיפשתי קצת ומצאתי את זה: https://wiki.archlinux.org/index.php/Docker#Deleting_Docker_Images_in_a_BTRFS_Filesystem זה לא אותו מקרה, אבל כנראה שזה בגלל ה-btrfs, תנסה לעשות את מה שכתוב שם. |
צפריר : |
מה הייתה הבעיה? זו הייתה mount point? |
קוד: |
btrfs subvolume delete <path> |
קוד: |
rmdir: failed to remove `a': Not a directory |