LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Can't access newly created directory (https://www.linuxquestions.org/questions/linux-newbie-8/cant-access-newly-created-directory-652046/)

DaftDave 06-27-2008 07:09 AM

Can't access newly created directory
 
I decided to make a folder into which i would store any html/css pages i made. The new folder i named new_pages is located in /Home/Username. I then put three new html/css pages into the new_pages folder no problem. But now when i try to open the new_pages folder in order to edit one of the pages stored there i am informed:

The file file:///home/username/new_pages could not be loaded,
as it was not possible to read from it.

Check to see if you have access to this file.

I did go to /Home/username/new_pages right clicked on the folder and then selected Properties -> Permissions and made sure that the Owner, Group, and Others categories each had the same option "Can View & Modify Content" and finally clicked on OK. But i still can access the new_pages folder.

So i went to the Main Menu -> System -> File Tools -> File Manager - Super User Mode and then typed in my password. But i could not locate the new_pages folder?

This is really doing my head in. So could someone come to my rescue please before i start pulling all my hair out! Any help and advice is really appreciated. thanks DD

Hangdog42 06-27-2008 07:25 AM

In Linux, capitalization matters, so /Home/Username, /home/username and /Home/username are three different directories. If you're not paying attention to capitalization, that could be the whole problem.

ehawk 06-27-2008 12:06 PM

use the commands

find
locate
whereis

with *s to serve as wildcards, to locate the path to your files from the uppermost directory / .

find exam*.*

Once you find it, you can check the permissions at the command line (in the correct directory)

ls -al examplefile.html

and see that it has entries in the last few spaces (rwxd), and that your path to getting there is also user accessible.

Check the spelling, as mentioned above.

read up on these commands

man find
man locate
man whereis
man ls
man chmod (if you want to change permissions at the command line)

Nylex 06-27-2008 02:17 PM

Since no-one else has mentioned this, please use better thread titles in future. By "better", I mean ones that say something about the problem you're having. When you post a thread, you are told that tiles like "help me" are bad..

Tinkster 06-27-2008 04:00 PM

And I helped by doing just this; give it a sensible title.


All times are GMT -5. The time now is 06:17 AM.