LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   downloads folder (https://www.linuxquestions.org/questions/linux-newbie-8/downloads-folder-4175698366/)

cybervulcan 07-27-2021 12:59 PM

downloads folder
 
I have recently installed Feren OS classic on my system and while downloads is in the home folder the other day I accidentally dragged into another folder I brought it back however now the downloads folder will not be recognized as a folder to store downloads mostly by the browser I am not sure what to do hoping to avoid a reinstall.

teckk 07-27-2021 04:09 PM

Output of
Code:

ls -ld ~/downloads

#or
 
ls -ld ~/Downloads

You could always delete it and make a new downloads folder.
Code:

mkdir ~/downloads
See:
man ls
man mkdir
man chmod
man chown

SlowCoder 07-27-2021 04:26 PM

Once you move/recreate the ~/Downloads directory, you should be able to go into your browser's settings and reset the default downloads directory.

camorri 07-27-2021 04:38 PM

Any browser will have settings, of of which specifies where a download will be saved. You can save things where you want, assuming you have the correct privlidges.

The first commands Teckk listed will show the download folder, user and privledges. Depending where you moved the original to, these may have changed. Downloads normally is locaked in /home/yoursuer/Downloads.

Here is what mine looks like:

Quote:

drwxr-xr-x 2 cliff users 4.0K Jul 8 11:40 Downloads/
My user is cliff, and I belong to the group users. Notice the wxr-xr-x these are the permissions for this directory. The d indicates its a directory. wxr indicates I have read, write and execute privlidges. Users in the users group have read and execute, and any one else has read and execute. So, my user can store data ( downloads ) in this directory, others can read it and execute stuff in that direcotry.

You can change permissions with the chmod command. See man chmod.

cybervulcan 07-27-2021 04:39 PM

drwxr-xr-x 7 cmdr cmdr 4096 Jul 26 13:37 Downloads this is my folder I created a new folder and set it in Firefox this the path I got /run/user/1000/doc/3787be06/Downloads⁩ am I missing something in recreating the folder. one other question the 7 in my folder listing what does this mean?

teckk 07-27-2021 04:51 PM

https://linuxaria.com/howto/counting...links-on-linux

cybervulcan 07-27-2021 07:15 PM

Thanks for your help I have found the solution.

SlowCoder 07-28-2021 04:53 PM

Quote:

Originally Posted by cybervulcan (Post 6270283)
Thanks for your help I have found the solution.

Always nice to post the solution, should someone else have the same problem.


All times are GMT -5. The time now is 07:42 PM.