R
R
Ruslan2019-08-27 07:56:58
Debian
Ruslan, 2019-08-27 07:56:58

Debian deleting a file (Operation not allowed). What to do?

I created an Onlyoffice swap file in /, but I can not delete it, it says "Operation not allowed".
Selinux disabled, lsof, fuser give empty output.
ls -il /onlyoffice_swapfile

3290 -rwxrwxrwx 1 root root 6442450944 Aug 26 14:23 /onlyoffice_swapfile

lsattr output:
--------------e---- /onlyoffice_swapfile

Removing rm -f /onlyoffice_swapfile
rm: cannot remove '/onlyoffice_swapfile': Operation not allowed

sudo find . -maxdepth 1 -inum 3290 -delete
find: failed to delete './onlyoffice_swapfile': Operation not allowed

Answer the question

In order to leave comments, you need to log in

1 answer(s)
P
planc, 2019-08-27
@Dvlbug

https://linuxize.com/post/create-a-linux-swap-file...
sudo swapoff -v /swapfile

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question