LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 06-17-2021, 11:42 AM   #1
tuckthetux
LQ Newbie
 
Registered: Jan 2019
Distribution: antiX
Posts: 8

Rep: Reputation: Disabled
File manager cannot access Downloads. Permission denied. Other folders are accessible.


Hello!

I had tinkered with the downloads folder via the terminal some days ago . I can't remember what I did. Now I can't open the downloads folder.

I'm getting this error when trying to open that folder:
Code:
Unable to access /home/tux001/Downloads

Permission denied
Other folders work fine.

OS: Debian 10 on Chromebook
File manager: Space FM

Any help and suggestions are appreciated.
Thanks in advance!

Last edited by tuckthetux; 06-17-2021 at 11:43 AM.
 
Old 06-17-2021, 12:41 PM   #2
HappyTux
Senior Member
 
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 4,170

Rep: Reputation: 244Reputation: 244Reputation: 244
Use ls -l ~/ in Terminal to check the permissions of the other folders, it will show you what you messed up with the Downloads. Simply change the permissions of the Downloads folder to match the others and you will have access again.
 
1 members found this post helpful.
Old 06-17-2021, 01:57 PM   #3
Bonzoo
Member
 
Registered: Sep 2018
Location: Costa Rica
Distribution: Antix21a2,Parrot rolling,MXfce19.4,Sparky Openbox
Posts: 233

Rep: Reputation: 48
Open a terminal. type sudo followed by the file manager you run.Right click downloads or whichever file is fighting you... Click properties...then the permissions tab. Set it however you want
sudo pcmanfm
sudo thunar
It only takes a second
 
1 members found this post helpful.
Old 06-19-2021, 10:00 AM   #4
tuckthetux
LQ Newbie
 
Registered: Jan 2019
Distribution: antiX
Posts: 8

Original Poster
Rep: Reputation: Disabled
Thank you @HappyTux and @Bonzoo!
I used both of your advices and finally I can open the folder.

Using ls -l ~/ and simultaneously checking permissions from inside file manager I learnt and confirmed that downloads folder was owned by _apt and group was root.
Then I changed the file and group ownerships by following the instructions I found in https://linuxcommand.org/lc3_lts0090.php

And later I changed the permissions from inside the file manager. I tried the terminal method as explained in above article but failed.
But it's all done now. I can't thank enough both of you! Thanks again!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
creating a script that will move completed downloads into other folders? Springs Linux - Newbie 1 12-01-2012 06:46 AM
Shell Script to compare folders,Sub-Folders and Sub-Sub-Folders unix_72427 Programming 8 08-08-2012 02:51 PM
du gives error : "du: cannot access `./.gvfs': Permission denied"du: cannot access `. MihirSahasrabudhe Linux - Security 4 12-29-2009 11:10 AM
Samba can create new files and folders but access denied in any new folders k.king Linux - Networking 2 01-15-2006 06:14 AM
NTFS (winxp) drive is accessible only by root, why NTFS (winxp) drive not accessible Samppa72 Linux - Software 1 07-26-2004 03:13 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 09:24 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration