I am using the latest Deepin 15.11 and have just discovered that I cannot access my Documents folder (/home/username/Documents). In my file manager (Deepin File Manager) it simply says "You do not have permission to access this folder."
When I try to navigate there via my terminal I get this:
bash: cd: Documents: Too many levels of symbolic links So I did a little digging and discovered that the output of find -L ./ -mindepth 15 is as follows:
find: ‘./Documents’: Too many levels of symbolic links find: ‘./Templates’: Too many levels of symbolic links find: ‘./Public’: Too many levels of symbolic links find: File system loop detected; ‘./.steam/root’ is part of the same file system loop as ‘./.steam’. Which seems to point to some other underlying symlink/permission issue. Attempting to change the ownership of the folder back to my username also fails due to the same "too many levels of symbolic links" error.
This is a fairly fresh install and I haven't done anything I would imagine could cause something like this.
Does anyone know how to resolve this without losing what was in my Documents folder? (assuming it's not already gone)
findcommand is not producing any good output. Please try runningfind /home/$username -type l -exec ls -l {} \;and post the result in your question to show all of the symbolic links.unlink /home/sonar/Documents. You should not have been able to create that symbolic link if there was an actualDocumentsdirectory there. Did you check that maybe you renamed theDocumentsdirectory to something else or maybe put it in a different directory?find / -type d -name *Documents*could help.