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 JULY 24, 2023
Applies to:
Oracle Linux Cloud Service - Version Oracle Linux 5.0 and laterLinux 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 755 /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:
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 |
Cause |
Solution |