Friday, May 3, 2024
 Popular · Latest · Hot · Upcoming
0
rated 0 times [  0] [ 0]  / answers: 1 / hits: 1810  / 2 Years ago, thu, december 9, 2021, 6:26:33

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,


More From » permissions

 Answers
2

It sounds like you are trying to get at that folder through the GUI. Check the permissions of the snorttmp and snort directories:



sudo ls -al /usr/local/src/snort/ | grep snorttmp

sudo ls -al /usr/local/src/ | grep snort


If those look ok (drwxr-xr-x root root), then there must be something more elusive going on. In that case, you can always try running Nautilus (file explorer) with elevated permissions (you also might first have to install gksu sudo apt-get install gksu):



gksudo nautilus

[#27246] Thursday, December 9, 2021, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
shadowoof

Total Points: 293
Total Questions: 112
Total Answers: 137

Location: Burkina Faso
Member since Sun, Nov 21, 2021
3 Years ago
;