0
Argh help lol
I have ran a chown command (silly me) which I did not fully understand now when I connect via filezilla and try do anything write/delete files/directories I get
Error: mkdir /var/www/html/mysite.co.uk/directory/dsf: failure
Command: mkdir "/var/www/html/mysite.co.uk/directory/dsf"
Error: mkdir /var/www/html/mysite.co.uk/directory/dsf: failure
Command: rm "/var/www/html/mysite.co.uk/backend/downloads/TallyTest.apk"
Error: rm /var/www/html/mysite.co.uk/backend/downloads/TallyTest.apk: failure
How can I undo this damage? :(
UPDATE Command history: http://tinypic.com/r/n1fl3b/6
Don't suppose you remember the syntax of the command that you ran? – EBGreen – 2013-02-08T19:47:54.637
If you don't recall, try
history
in your shell to see if it's in your history (assuming that you have access of course...) – nerdwaller – 2013-02-08T19:52:54.043Ok thanks guys added a link to a screenshot of my command history. – Kal – 2013-02-08T20:06:40.013
From the command history (which does not seem to be complete), I'm guessing the problem is NOT that you "chown"'ed a file its that you "chcon"ed it - this is a key difference as chcon works with SELinux for additional restrictions. (I am not an expert here, but at least this might help you with where to look ?). Try - at least temporarily - disabling selinux and seeing if your problem goes away - then at least you know the "domain" of the problem. – davidgo – 2013-02-09T09:20:54.910