Superuser And Moving Files
I'm trying to move a XML file from my apps private directory to another apps private dir. It asks me for superuser properly, I grant him the rights but he doesn't move the file. fi
You're executing two independent commands:
su
starting a root shell (which you subsequently ignore)mv
ran as you, which is deemed to failWhat you need is a single command like
sudo mv src dst
Be careful when working as root.
Post a Comment for "Superuser And Moving Files"