By sukhdip
Hi!! one strange problem occurred with my RHEL 5 box.
i’m having logs folder with ownership of non-root user. Created some files with root user under logs folder.
here is the scene:
i’m having logs folder with ownership of non-root user. Created some files with root user under logs folder.
here is the scene:
Code:
-rw-r----- 1 root root 1048227 Feb 28 12:34 SystemOut_13.02.28_12.34.10.log
-rw-r----- 1 root root 415920 Mar 14 16:41 SystemOut.log
-rw-r----- 1 root root 20902127 Mar 2 22:15 trace_13.03.02_22.25.53.log
-rw-r----- 1 root root 2579956 Mar 14 16:41 trace.log
I’m not able to delete the files with both users.
Below error is coming up
Quote:
|
rm: cannot remove `SystemOut_13.02.28_12.34.10.log’: Read-only file system |
I tried lsattr and chattr, below the output of both:
Code:
------------- /opt/IBM/WebSphere/AppServer/profiles/xyz/logs/server1/
Code:
chattr: Read-only file system while setting flags on /opt/IBM/WebSphere/AppServer/profiles/xyz/logs/server1/
Chown and chmod not able to work. Again Read-only file system error is coming up.
Help needed also want to understand the reasons.
Immediate help will be appreciated.
Thanks.
…read more
Source: FULL ARTICLE at The UNIX and Linux Forums