user php.ini error when system try to remove it, how to fix this?

nikohal

Verified User
Joined
Dec 12, 2011
Messages
34
Here is the error:
User added to ssh config file.
Script output: /usr/local/directadmin/scripts/custom/user_create_post.sh
cp: cannot create regular file `/home/ostoslista/domains/ostoslistani.net/php.ini': Permission denied Can't remove /home/ostoslista/domains/ostoslistani.net/php.ini: Operation not permitted, skipping file. Can't remove /home/ostoslista/domains/ostoslistani.net/php.ini: Operation not permitted, skipping file. Can't remove /home/ostoslista/domains/ostoslistani.net/php.ini: Operation not permitted, skipping file. chown: changing ownership of `/home/ostoslista/domains/ostoslistani.net/php.ini': Operation not permitted chmod: changing permissions of `/home/ostoslista/domains/ostoslistani.net/php.ini': Operation not permitted


Regards, Niko H.
 
Hello,

Not too sure on what solution you are waiting to get. Please clarify your inquiry.

From what you posted I might guess you try to restore a user from a backup and you've already got the file which is chattr'ed immutable, and the script tries to rewrite the file. If so then you are probably safe to ignore it. Check it with:

Code:
lsattr -a [COLOR=#333333]/home/ostoslista/domains/ostoslistani.net/php.ini[/COLOR]
 
Back
Top