Problem with access to own directory


#1

Dear Climb’s staff,
I don’t have access to my own directory “Documents”. Below how is displayed my “Documents” folder (Documents -> /data_lemid/lemid_rzea/).
lemid_rzea@lemid:~$ ls -lh
drwxr-xr-x 3 lemid_rzea lemid_rzea 4.0K Jun 14 2018 bin
drwxrwxr-- 3 lemid_rzea lemid_rzea 4.0K Mar 5 12:42 datasets
lrwxrwxrwx 1 lemid_rzea lemid_rzea 23 Jun 6 2018 Documents -> /data_lemid/lemid_rzea/
drwxr-xr-x 3 lemid_rzea lemid_rzea 4.0K Dec 25 16:26 fastStructure
drwxr-xr-x 6 lemid_rzea lemid_rzea 4.0K Jan 7 14:58 Loter
drwxr-xr-x 13 lemid_rzea lemid_rzea 4.0K Jun 8 2018 miniconda2
drwxr-xr-x 27 lemid_rzea lemid_rzea 4.0K Jan 18 14:11 miniconda3
drwxr-xr-x 5 lemid_rzea lemid_rzea 4.0K Jul 9 2018 mist
drwxr-xr-x 8 lemid_rzea lemid_rzea 4.0K Jan 2 22:48 provean-1.1.5
drwxr-xr-x 3 lemid_rzea lemid_rzea 4.0K Oct 15 00:01 R
lemid_rzea@lemid:~$

Seem that my “Documents” folder was moved to /data_lemid/lemid_rzea/ but when I tried to go inside this folder I can’t.
lemid_rzea@lemid:~$ cd /data_lemid/lemid_rzea/
-bash: cd: /data_lemid/lemid_rzea/: No such file or directory

Please, I would like to know how I can have access to my “Documents” folder.
Many thanks
Roxana


#2

Hi Roxana,

It looks like you have created a symlink rather than moved a directory - https://www.unixtutorial.org/lrwxrwxrwx.

The symlink is pointing to the /data_lemid/lemid_rzea/ directory. I am not sure what this means for the Documents directory as I am unsure how you did this. Maybe more details could help?

All the best,
Sion


#3

Dear Sion,
Many thanks for your advice. I checked if my folder was symlink and it was. I am not really sure how it happens, but now it is fine and thanks again.
Regards,
Roxana


#4