A
A
Alexander2014-11-15 04:36:05
linux
Alexander, 2014-11-15 04:36:05

Linux how to delete file o_0?

Background ... I downloaded the Porteus distro to feel it, unpacked it into my home directory, and there was a file with the owner root and READ ONLY attributes, so now I can’t even delete this file from under the root. chown and chmod don't work either:
chown: change ownership of 'ldlinux.sys': Operation not allowed
# chmod ugo+rwx *
chmod: change permissions for 'ldlinux.sys': Operation not allowed
how do I delete it now? =) I suspect that booting to any other distro with live-cd will not change the situation, because there will be exactly the same root there ... is it really possible to install Windows and look for drivers for ext4 to delete the file? :D

Answer the question

In order to leave comments, you need to log in

3 answer(s)
J
jcmvbkbc, 2014-11-15
@wxmaper

as root: chattr -i ldlinux.sys

D
Dmitry, 2014-11-15
@zmeyjr

sudo mc, remove the attribute and delete either live and the same thing or problems with hdd in this place
Under windows there are no normal drivers for ext4, especially with recording.

S
Sergey Lerg, 2014-11-15
@Lerg

I don't understand how it can't be deleted as root, but you can reboot in single mode (single kernel option) and delete it this way.
And see what are the rights / flags of the directory in which it is located.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question