#1  
Old 15th April 2013, 21:25
Dominick Dominick is offline
Junior Member
 
Join Date: Apr 2013
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Lightbulb Cannot delete files

Hi everyone,

Here's a summary of my configuration:

Code:
[root@shost ~]# cat /etc/redhat-release
CentOS release 6.4 (Final)
Code:
ISPConfig 3.0.5.1
The problem is that, since I updated to 3.0.5.1, I cannot delete any files placed in the root directory of any clients...

I here's a log of what I tried...

Code:
[root@shost shost.ca]# rm -rf monitoring-cron.php
rm: cannot remove `monitoring-cron.php': Permission denied
[root@shost shost.ca]# ls -la monitoring-cron.php
-rwxrwxrwx 1 web1 client2 1464 Apr 11 19:40 monitoring-cron.php
[root@shost shost.ca]# chown root:root monitoring-cron.php
[root@shost shost.ca]# rm -rf monitoring-cron.php
rm: cannot remove `monitoring-cron.php': Permission denied
[root@shost shost.ca]# lsattr monitoring-cron.php
-------------e- monitoring-cron.php
[root@shost shost.ca]# chattr -i monitoring-cron.php
[root@shost shost.ca]# lsattr monitoring-cron.php
-------------e- monitoring-cron.php
[root@shost shost.ca]# rm -rf monitoring-cron.php
rm: cannot remove `monitoring-cron.php': Permission denied
This problem is for every files that are in the root, files/directories, I can change the owner and permissions without any problems...

The security was set to High, I tried putting it to medium and Resync all the websites, and it doesn't change anything.

Since everything is blocked, and it was screwing my crons, I moved everything to private/...

Any ideas would be great.

Last edited by Dominick; 15th April 2013 at 21:38.
Reply With Quote
Sponsored Links
  #2  
Old 15th April 2013, 22:22
Dominick Dominick is offline
Junior Member
 
Join Date: Apr 2013
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default

I got read of the files by changing the attributes to the folder itself.

Code:
[root@shost home]# chattr -i web1
[root@shost home]# cd shost.ca/
[root@shost shost.ca]# rm -rf monitoring-cron.php
And it worked!
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
after upgrade to ISPConfig 3.0.4.1 can not delete files grungy General 3 13th December 2011 10:28
freebsd 7, samba 3, domain controller alexdimarco Suggest HOWTO 6 5th November 2010 17:54
Hacked malwar, files appears in web folders romain33 General 1 8th October 2009 16:32
Debian 5.0 'hangs' GHz Installation/Configuration 5 1st October 2009 13:57
Delete very large files in Trash?? trcinc1 Server Operation 1 27th April 2007 23:30


All times are GMT +2. The time now is 04:58.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.