LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Unable to enter file:///. (https://www.linuxquestions.org/questions/linux-software-2/unable-to-enter-file-384489/)

trscookie 11-18-2005 07:04 PM

Unable to enter file:///.
 
hello all, i have just installed Gentoo 2005.1, and i have encountered this problem before but i cant remeber how to resolve it, when im logged on as a user (kde) and use konqueror to try and access / i get the following error:

Unable to enter file:///. You do not have access rights to this location.

however if i type in something like /opt or /usr i have no problems!
also if i log into a console i can cd / but i cant list what i have in the directory i.e.

cookie@darkstar ~ $ cd /
cookie@darkstar / $ ls
ls: .: Permission denied
cookie@darkstar / $


cheers,

bulliver 11-18-2005 08:56 PM

Weird...

Can you run (as root):
# ls -ld /
and post the result...

trscookie 11-19-2005 05:41 AM

darkstar cookie # ls -ld /
d-wxr----t 19 root root 472 Nov 18 17:37 /

bulliver 11-19-2005 06:57 AM

Quote:

d-wxr----t 19 root root 472 Nov 18 17:37 /
That's messed right up...permissions should not be like that. You say this is a fresh install of gentoo? Very odd.

Anyway, just run this to fix it (as root again):
# chmod 755 /

and it will work as you expect.

trscookie 11-19-2005 08:21 AM

nice one cheers, worked a treat!


All times are GMT -5. The time now is 07:14 AM.