[Nokia N900 X Terminal] cp: How to fix Omitting Directory, Permissions Denied Linux Command Errors

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…