I am new user of Ubuntu. I have installed Ubuntu version 12.10 in virtual box.
The problem.
I downloaded a file called pcre in to /home/downloads
.
I created a folder in pcre in home folder and moved the pcre file from download folder to pcre folder
I then copied the folder /home/dinesh/pcre
to /usr/local/src/snort/snorttmp
using the command
cp -a /home/dinesh/pcre /usr/local/src/snort/snorttmp
When I am trying to access snorttmp folder, a message is displayed
" The folder contents could not be displayed. You do not have the
permissions necessary to view the contents of "snorttmp".
Before copying pcre file into the snorttmp, I had access to snorttmp and was able to view the files present in snorttmp folder.
I then tried to see my files through the terminal
root@dinesh-VirtualBox: /usr/local/src/snort/snorttmp# ls -l
-rw-r--r-- 1 root root 5189146 Jan 24 00:18 2787
-rw-r--r-- 1 root root 19659 Jan 28 16:29 index.html
drwxrwxr-x 2 dinesh dinesh 4096 Jan 28 20:18 pcre
drwxr-xr-x 10 root root 4096 Jan 1 00:08 snort-2.9.6.0
drwxrwxr-x 6 dinesh dinesh 4096 Jan 28 20:20 SnortRules
drwxr-xr-x 2 root root 4096 Jan 28 16:18 snorttmp
I find few of the files are marked in blue while the other files are displayed in white.
The files that were displayed in blue when I did ls -l are
pcre
snort-2.9.6.0
SnortRules
snorttmp
2787 and index.html are displayed in white.
Kindly let me know what should be done to get permission to view my files.
Thanks,