Focal no writing permission in documents and downloads folder
-
Hi,
as the title says I can't save anything in the Downloads and Documents folder. File Manager tells me that I only have read and execute permissions. Also I can't open PDFs from the net. Document Viewer wants to save the PDF locally but can't because of missing permission.
It is a new clean installation on the Volla phone. Changing channels makes no difference.
Is it a known bug? I could not find anything.
If it is a new one can someone tell me where to report it?
And does anyone maybe have a solution there for?Thanx, Stefan
-
It would seem that some operation messed with the permissions of those directories in your home folder.
Open the terminal app and execute the command:
chmod -R +w $HOME/Documents $HOME/Downloads
This command recursively adds the writeable flag to all files and folders in the Documents and Downloads directories.
-
@arubislander Isn't rhe r oprion for read? Shouldn't you be using the w option for write?
-
@Ian said in Focal no writing permission in documents and downloads folder:
@arubislander Isn't rhe r oprion for read? Shouldn't you be using the w option for write?
you are correct!! I have edited the post accordingly.
-
Hello,
thank you for your advice. Unfortunately it did not work.
Maybe because I forgot to mention something that came back to me. I think the problem came up after I made the folders available to Waydroid. Used this command:
sudo mount --bind ~/Documents ~/.local/share/waydroid/data/media/0/Documents
sudo mount --bind ~/Downloads ~/.local/share/waydroid/data/media/0/Download
And there are some files in the folders.Sorry for these mistake
-
@Knalli73 Yes, that bind mount does not work really, because as soon as Android starts, it changes the owner of the mounted folders.
But it still should be possible to revert the permissions on UT side (if waydroid is stopped).
-
sudo chown -R phablet:phablet /home/phablet/Documents
-
sudo chmod -R 755 /home/phablet/Documents
-
-
Yeah, that did the trick. Thanks to all. I will mark it as solved.
-