Why am I getting permission errors when trying to delete files as root or in single user mode?

Linode Staff

I'm met with permission errors when I try to delete certain files as the root user or in single user mode. How can I fix this?

1 Reply

It looks like this can be caused by a couple different things, including file attributes and sticky bits. Here are some stack posts with troubleshooting information from users running into similar issues:

No access to delete files within /tmp
Unable to delete file, even when running as root
Why can't I delete this file as root?

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct