My Oracle Support Banner

Unable to Write Over a Specific Directory or File in Oracle Linux due to error "Operation not permitted" (Doc ID 2452832.1)

Last updated on MAY 12, 2020

Applies to:

Oracle Linux Cloud Service - Version Oracle Linux 5.0 and later
Linux OS - Version Oracle Linux 5.0 and later
Information in this document applies to any platform.

Symptoms

It is not possible to create files into the single affected directory over a file system, or change the directory permissions:

[root@test ~]# touch /etc/test.txt
touch: cannot touch '/etc/test.txt': Permission denied
[root@test ~]# chmod 777 /etc/
chmod: changing permissions of '/etc/': Operation not permitted
[root@test ~]#

Another example is with a single file. When we tried to save the changes it shows an error specifying it cannot be open for writing mode:

 

Changes

 

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Changes
Cause
Solution


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.