The folder desktop cannot be opened because you dont have permission to see its contents

Anytime I try to open my Desktop from the finder I get this message: "The folder “Desktop” can’t be opened because you don’t have permission to see its contents." When I try to open the desktop from a terminal cd ~/desktop, it says permission denied. It started when an excel document showed up on my desktop that I cannot delete.

Any ideas?

The folder desktop cannot be opened because you dont have permission to see its contents

Right click the Desktop folder in Finder > Get Info > Sharing & Permissions. What does it have listed under that? Does your user have "Read & Write" permissions? If not, change it so you do.

That works. Thank you. However, I still have a file on the desktop which I cannot delete. Anytime I try to delete it I get a message saying The item “042B9300” can’t be moved to the Trash because it can’t be deleted.

The folder desktop cannot be opened because you dont have permission to see its contents

Check the permissions on the file the same way you did for the Desktop folder. Ensure that you have read & write privileges. Once you do, you should be able to delete it.

Aug 24, 2011 45 0 Wales, UK

Hi, I am having a problem with my DLink DIR-685 router which has an internal hard drive. It works flawlessly with my windows machine, however I am having no such luck with my Macbook Air running Lion. So this hard drive inside the router is in EXT3 format which is probably causing the problem. However I can access it through a little app called muCommander, which is like an alternative to finder. But since I want to access the hard drive through finder so I can refer to the folders on the hard drive through applications, it has to be done through finder. I have tried two apparent work arounds which have both failed. These are MacFUSE and Paragon ExFS. So to help explain what I am doing I have attached some images: Firstly I click on the hard drive in finder, under shared:

The folder desktop cannot be opened because you dont have permission to see its contents

Then I proceed to the first folder:

The folder desktop cannot be opened because you dont have permission to see its contents

The 'no entry' icons in the corner of the folders signify that I cannot access them and the following message pops up if I try to do so:

The folder desktop cannot be opened because you dont have permission to see its contents

Is it even possible to access these files on my Mac. There are no permission restrictions assigned to the folders since I can access them no problem on my windows machine and I have set the storage access setting on the router to open which means anyone can access the files.

Select the folder you do not have sufficient permissions for and hit command i

after that you will see a window pop up and towards the bottom you will see a sharing and permissions-click on that arrow and make sure your user account is set to read and write privileges. LMK if that doesn't resolve the issue and we can try some other things, best o luck

The folder desktop cannot be opened because you dont have permission to see its contents

The filesystem doesn't matter when you're accessing network storage (Windows doesn't have native support for EXT3 either). Because you're having the problem only with Finder and not mucommander from the same computer, I think you're running into this Finder bug:

http://hints.macworld.com/article.php?story=20100405023255445

If that's the case, the only way to fix it is to SSH into the router and edit the smb.conf file (I don't know if that's possible, incidentally). You can try to find and write to the file from Windows or through mucommander, but I doubt it's accessible that way.

Aug 24, 2011 45 0 Wales, UK

The filesystem doesn't matter when you're accessing network storage (Windows doesn't have native support for EXT3 either). Because you're having the problem only with Finder and not mucommander from the same computer, I think you're running into this Finder bug:

http://hints.macworld.com/article.php?story=20100405023255445

If that's the case, the only way to fix it is to SSH into the router and edit the smb.conf file (I don't know if that's possible, incidentally). You can try to find and write to the file from Windows or through mucommander, but I doubt it's accessible that way.


I can't see any files named smb.conf. I have no idea if it exists or if it is accessible if it does exist.

I can't see any files named smb.conf. I have no idea if it exists or if it is accessible if it does exist.


I don't know either, sorry. Google searches aren't very fruitful. If you can't SSH into the router from the terminal (ssh admin-name@dir-685), I'm not sure what to do.

A workaround: This router apparently has ftp. So you can maybe try using Fuse to mount the storage device via FTP. (Previously I think you could do go-> connect to server-> ftp://path/to/storage in Finder, but that was dropped in Lion. Not positive, I have no FTP to test with here.)

Aug 24, 2011 45 0 Wales, UK

I don't know either, sorry. Google searches aren't very fruitful. If you can't SSH into the router from the terminal (ssh admin-name@dir-685), I'm not sure what to do.

A workaround: This router apparently has ftp. So you can maybe try using Fuse to mount the storage device via FTP. (Previously I think you could do go-> connect to server-> ftp://path/to/storage in Finder, but that was dropped in Lion. Not positive, I have no FTP to test with here.)


SOLUTION FOR THOSE WITH THE SAME ROUTER/PROBLEM! Finally. I solved this by using the FTP feature. For anyone else reading this in the future, here is what I did: Log into your router and create a user. Allow this user permission to the root of the storage device under FTP settings and enable FTP

Then go to https://www.dlinkddns.com/ and register.

Sign in and create a host. Copy the IP Address which shows into the 'new' IP address box and save. Now to connect to this server go into finder and go to Go -> Connect to server.. Type in ftp://<host name here>.dlinkddns.com and log in with the user details you created on the router earlier. Now this should allow you to view all folders and copy from.

To write to the hard drive you will need 3rd party software as explained here

I can finally allow a program to refer to a folder on the routers hard drive through FTP

One more step to take .....

Select the folder you do not have sufficient permissions for and hit command i

after that you will see a window pop up and towards the bottom you will see a sharing and permissions-click on that arrow and make sure your user account is set to read and write privileges. LMK if that doesn't resolve the issue and we can try some other things, best o luck

============== Now in the bottom-right corner of that Information box, you will see a lock that is, um, locked. Click on it. It will ask for your administrative password. (I assume you're the administrator of your computer.) At that point the lock will un-lock, and you may change the privileges to "Read & Write". Done!