Author Topic: Bizarre behavior - Root doesn't have permission to access file  (Read 7492 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
How in the world is this even possible? I'm logged in as Root, and I can't do things to the file "postfix.php".
I can't change ownership, permissions, or write to the file. What is doing this?

-r--r-----. 1 postfix root    313 Apr 22 20:55 postfix.php
-rw-r--r--. 1 root    root   4409 Apr 10 23:37 verify.php
-rw-r--r--. 1 root    root    884 Apr 10 23:37 version.php
[root@srv2 include]# chmod +r postfix.php
chmod: changing permissions of `postfix.php': Operation not permitted
[root@srv2 include]#


On another server, this isn't a problem.

But I did a "restore" to a 2nd CentOS Web Panel server using tar -p, and now this file is totally unreadable. I don't get it.

« Last Edit: May 04, 2016, 04:14:53 PM by DeveloperMcD »

Offline
*****
Re: Bizarre behavior - Root doesn't have permission to access file
« Reply #1 on: May 04, 2016, 04:47:05 PM »
This isnt the cwp problem ... Its your server problem contact the provider

Offline
*****
Re: Bizarre behavior - Root doesn't have permission to access file
« Reply #2 on: May 10, 2016, 12:17:03 PM »
Hi, check attributes.

Code: [Select]
lsattr postfix.php
if you want to edit something, it shouldn't have anything
You can ask me to solve any problem with your server for some money in pm  ;)
Services Monitoring & RBL Monitoring
http://centos-webpanel.com/services-monitor
Join our Development Team and get paid !
http://centos-webpanel.com/develope-modules-for-cwp

Installation Instructions
http://centos-webpanel.com/installation-instructions
Get Fast Support Here
http://centos-webpanel.com/support-services