LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices

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

Rep: Reputation: 15
Strange File Permissions


Hey,

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".

Code:
b--sr-s--t 30068 2036409384  539518322   111,  99 Feb  5  1987  autosave.dev.js
?--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?

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

Rep: Reputation: 0
Hello,

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 ?

Thanks
./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
unSpawn
Moderator
 
Registered: May 2001
Posts: 27,470
Blog Entries: 54

Rep: Reputation: 2901Reputation: 2901Reputation: 2901Reputation: 2901Reputation: 2901Reputation: 2901Reputation: 2901Reputation: 2901Reputation: 2901Reputation: 2901Reputation: 2901
...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: http://www.linuxquestions.org/questi...08#post3405908 solution?

// BTW if you found and remembered the cause for http://www.linuxquestions.org/questi...lation-696788/, CYP update it? TIA
 
Old 08-25-2009, 01:00 PM   #4
tuftystick
Member
 
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;

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

Thanks.
 
  


Reply


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/Novell 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


All times are GMT -5. The time now is 09:14 PM.

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