2

I run:

sudo mv /etc/default/keyboard.tmp /etc/default/keyboard

I get this error:

mv: cannot move ‘/etc/default/keyboard.tmp’ to ‘/etc/default/keyboard’: Operation not permitted

How to fix this ?

1 Answer 1

2

Hmh

a simple cp should do it, or am I wrong?

cp /etc/default/keyboard.tmp /etc/default/keyboard

then try to do a forced removal

rm -rf /etc/default/keyboard.tmp

If it still doesn't work I suggest, that the file is in use by a service or daemon or application and will be deleted after reboot or at least the Service/daemon/application has been closed.

1
  • No :) but thank you for trying
    – user284234
    Apr 1, 2015 at 13:06

You must log in to answer this question.