"Error opening directory : permission denied" when I want to export
Hello everyone
I'm just trying to export my library to another format in some places, and I get the following error when I try to "open" some folders to choose the conversion location:
"Error opening directory 'the/path/to/directory' : permission denied"
I have the impression that this happens when I open a dotfiles only.
Moreover, when I start zotero, I get the following error
sed: can't read /home/user/.config/user-dirs.dirs: Permission denied
/snap/zotero-snap/41/snap/command-chain/desktop-launch: line 261: /home/user/.config/user-dirs.dirs: Permission denied
cp: cannot open '/home/user/.config/user-dirs.locale' for reading: Permission denied
/snap/zotero-snap/41/snap/command-chain/desktop-launch: line 266: /home/user/.config/user-dirs.locale: Permission denied
But Zotero start.
I normally have all the permissions, checking with these commands :
ls -a -l | grep .config
lrwxrwxrwx 1 user user 17 Apr 26 15:47 .config -> .dotfiles/.config
ls .config/ -a -l | grep user
-rwxrwxrwx 1 user user 640 Mar 22 21:23 user-dirs.dirs
-rwxrwxrwx 1 user user 5 Mar 22 21:23 user-dirs.locale
I also tried to delete the cache with this :
rm -r snap/zotero-snap/common/.cache/zotero/
but nothing works.
I must be missing something simple, but I don't know what
Thanks in advance for your answers
I'm just trying to export my library to another format in some places, and I get the following error when I try to "open" some folders to choose the conversion location:
"Error opening directory 'the/path/to/directory' : permission denied"
I have the impression that this happens when I open a dotfiles only.
Moreover, when I start zotero, I get the following error
sed: can't read /home/user/.config/user-dirs.dirs: Permission denied
/snap/zotero-snap/41/snap/command-chain/desktop-launch: line 261: /home/user/.config/user-dirs.dirs: Permission denied
cp: cannot open '/home/user/.config/user-dirs.locale' for reading: Permission denied
/snap/zotero-snap/41/snap/command-chain/desktop-launch: line 266: /home/user/.config/user-dirs.locale: Permission denied
But Zotero start.
I normally have all the permissions, checking with these commands :
ls -a -l | grep .config
lrwxrwxrwx 1 user user 17 Apr 26 15:47 .config -> .dotfiles/.config
ls .config/ -a -l | grep user
-rwxrwxrwx 1 user user 640 Mar 22 21:23 user-dirs.dirs
-rwxrwxrwx 1 user user 5 Mar 22 21:23 user-dirs.locale
I also tried to delete the cache with this :
rm -r snap/zotero-snap/common/.cache/zotero/
but nothing works.
I must be missing something simple, but I don't know what
Thanks in advance for your answers
It must have been marked somewhere what you just said, sorry for the little waste of time. Thanks for your answer!