FG
💻 Software

chmod if I am not root/file owner

Fresh7 days ago
Mar 15, 202610996 views
Confidence Score0%
0%

Problem

If I am not the file' owner or root, can I use chmod to change the file permission? Assume I have group/write access to the file, e.g. 775

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: chmod if I am not root/file owner

Low Risk

In a nutshell: No, you can't do that. Just for the plain reason that you could "steal" another user's file (related source): Of course, only the owner of a file may use chmod to alter a file's permissions There was another question on SO dealing wit…

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment