[SOLVED] USB pen: Nemo: The location is not a folder

Please post suggestions for improvement of Cinnamon on:
https://github.com/linuxmint/Cinnamon
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
Tetractys

[SOLVED] USB pen: Nemo: The location is not a folder

Post by Tetractys »

hi!
as the subject, as soon i insert a USB pen (32Gb) in any usb ports Nemo tell me in a dialog:

Could not display "/media/davide/87C4-65FA".
The location is not a folder.


All seems good, in /media/davide/87C4-65FA, all files readable via command line *as root* but this is the situation when i try to access via command line as user "davide":

Code: Select all

davide@thor /media $ ll
total 12
drwxr-xr-x  3 root root 4096 ott 28 08:34 .
drwxr-xr-x 24 root root 4096 dic 11 14:09 ..
drwxr-x---  3 root root 4096 dic 13 18:48 davide
davide@thor /media $ cd davide
bash: cd: davide: Permission denied
davide@thor /media $ 
seems that the permissions system assign to the new usb pen inserted are wrong... of course i can manually and temporary override this issue but every time i insert a new pen the problem reappear.
Q: How to "tell" to the system to assign the r/w rights and set the correct default permissions?

NB. these is the installation details:
Linux Mint 17.1 64bit
Cinnamon 2.4.5
Linux 3.13.0.-43-lowlatency
cpu i7-3770K

thanks a lot in advance!
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 2 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Buzzsaw
Level 6
Level 6
Posts: 1318
Joined: Sat Aug 23, 2014 12:53 pm

Re: USB pen: Nemo: The location is not a folder

Post by Buzzsaw »

Insert the USB drive, then execute:

Code: Select all

sudo chown davide:davide /media/davide/87C4-65FA
Tetractys

Re: USB pen: Nemo: The location is not a folder

Post by Tetractys »

thanks! but doesn't worked.
But your suggestion let me try this:

Code: Select all

sudo chmod 777 /media/davide
this worked.
Thanks a lot!
thobin

Re: [SOLVED] USB pen: Nemo: The location is not a folder

Post by thobin »

This work for me too.

sudo chmod 777 /media/username

TA
raxy

Re: [SOLVED] USB pen: Nemo: The location is not a folder

Post by raxy »

I believe if you do a chown -R /media/<username> will be good as 777 will change the file permissions open to all
Locked

Return to “Cinnamon”