FG
💻 Software

Linux – cannot remove owned file with 777 permissions

Fresh5 days ago
Mar 15, 2026104367 views
Confidence Score0%
0%

Problem

I've couple of files that I cannot remove using command. I'm the owner of those file and the group assigned to those files is also a group my user is in. What's even weirder is that I can edit their content and I can change the permissions for them, but I can't move or delete them. Can anyone tell …

Error Output

ls -al
total 12
dr-xr-xr-x 3 rayell pg1083760 4096 2010-10-10 10:00 .
drwxr-xr-x 3 rayell pg1083760 4096 2011-09-02 04:33 ..
-rwxrwxrwx 1 rayell pg10…

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: Linux – cannot remove owned file with 777 permissions

Low Risk

To remove one file you need write permission on the directory that contains¹ this file. Here the permissions are So nobody (other than ) can remove files inside this directory. The owner must use first. — 1. There are pretty good reasons for that. B…

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment