Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 08-25-2009, 12:42 PM   #1
Registered: Jan 2009
Location: Scotland
Distribution: CentOS 5.3
Posts: 36

Rep: Reputation: 15
Strange File Permissions


We have a client on CentOS with cPanel and their VPS is corrupt by the looks of things. We have tried to remove the following files but it won't allow us to, give an error of: "Operation Not Permitted".

b--sr-s--t 30068 2036409384  539518322   111,  99 Feb  5  1987
?--xrwx--x 29545 1668161637 1769236596 1629757501 Jul  24  2001 jquery
cr-xr-Sr-t 28711 1948532000 1768431660    32,  44  Jul  1  2002 prototype.js
?--xrw-r-T 25459 1886217589 1950049576  740892711  Oct 17  2021 scriptaculous
?r-Sr-S--- 25973 1701668896  539455839 1936485748  Jul  4  1991 swfobject.js
c--Sr----T 27728 1818312736 1701585011   114, 101  Jun  1  1975 wp-lists.js
The files are located here: /vz/private/127.old/home/scbuzz/public_html/blag/wp-includes/js/

We have tried to rebuild the VPS, however, it wasn't successful expressing that a device is busy.

We are planning to run FSCK on the host, but would rather not do that.

Any ideas?

Old 08-25-2009, 12:52 PM   #2
LQ Newbie
Registered: Apr 2009
Location: Indore, India
Distribution: ubuntu, centOS,RHEL,Mandriva
Posts: 10

Rep: Reputation: 0

According to your file listing approximately every file has "Sticky Bit" Set and
each file is owned by some user id.

tell me one thing. are you able to change permission and ownership ?

./Kapil Singh Kushwah
Do the Best
Linux for servers,
Mac for Graphics,
Palm for Mobility,
Windows for Solitaire.
Old 08-25-2009, 12:56 PM   #3
Registered: May 2001
Posts: 29,358
Blog Entries: 55

Rep: Reputation: 3545Reputation: 3545Reputation: 3545Reputation: 3545Reputation: 3545Reputation: 3545Reputation: 3545Reputation: 3545Reputation: 3545Reputation: 3545Reputation: 3545
...and in addition to that what filesystem does it have? ReiserFS by any chance? Have there been previous problems with it or is this in any way related to your post #9 here: solution?

// BTW if you found and remembered the cause for, CYP update it? TIA
Old 08-25-2009, 01:00 PM   #4
Registered: Jan 2009
Location: Scotland
Distribution: CentOS 5.3
Posts: 36

Original Poster
Rep: Reputation: 15
This is what I get when trying to change the owner and permissions;

chmod: changing permissions of `': Operation not permitted
[root@node2 js]# chown root:root
chown: changing ownership of `': Operation not permitted
This is a OpenVZ VPS on CentOS 5.3 32bit.



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
strange permissions problem dgunthor SUSE / openSUSE 8 11-20-2006 05:01 AM
Strange file size and permissions under /usr/sbin phyrster Linux - Security 6 05-31-2006 08:26 AM
Strange file size and permissions in /usr/sbin phyrster Debian 2 05-28-2006 04:53 AM
directory permissions acting strange. mushmaster Linux - Software 1 02-12-2006 07:33 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:36 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration