While updating few files in a game on Nokia N900 using X-Terminal, files did not copy when I used cp command, it gave ‘omitting directory’ error.
FIrst of all gain root access by typing following command:
~$ sudo gainroot
~$ cd MyDocs
~/MyDocs $ cp directory-name /opt/application-name/
cp omitting directory 'directory-name'
You can fix it like this:
~/MyDocs $ cp -r directory-name /opt/application-name/
If you get ‘permissions denied’ error, type sudo before the command like this:
~/MyDocs $ sudo cp -r directory-name /opt/application-name/
Hope that helps.
Cheers!