LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   No such file or Directory Error (https://www.linuxquestions.org/questions/linux-software-2/no-such-file-or-directory-error-4175692716/)

Mike-Adams 03-27-2021 03:33 AM

No such file or Directory Error
 
I cannot create any folder or file on my partitions ,the error is 'Error creating (filename) no such file or directory' like in the image attached Unable to create folder in the partition
https://i.stack.imgur.com/6Nazw.png

When I check the drive permissions using ls -al am the owner .This is on both of the partitions.
I have two partitions.
When I try to reset the permissions using sudo mount -o remount,rw /dev/(driver name) I still get the error.When I change ownership using sudo chown -v (user):(user) /dev/(driver name) I still get the error when creating the folder.
See images below

https://i.stack.imgur.com/4qhgp.png

All help to point me in the right directions is highly highly appreciated. I am fairly new to Ubuntu I would also love to have daily automatic back ups on one of my partitions , but the one I have set in the settings always returns error either permissions denied or read only , how do I after am done getting myself out of the current mess configure daily back ups to one of the internal partitions without failure. Here are my partitions

https://i.stack.imgur.com/6UnK9.png

Thank you.

teckk 03-28-2021 03:37 PM

You have a directory under / called media? Or is media under /home

Post the output of:
Code:

ls -l /
If you have a directory named /media
Then post the out out of:
Code:

cd /media
ls -ld */
ls -ld .*/ */


Mike-Adams 03-29-2021 01:11 AM

I managed to solve this by editing the fstab file , now this brings another issue , where the only delete option available on those drives is permanently , how do I solve this challenge ?
Thank you

pan64 03-29-2021 01:17 AM

I just don't understand that problem. What do you want to achieve, what did you try, what did you miss?
Telling us that you edited fstab is more or less meaningless without details.
chown user /dev/something is definitely wrong.


All times are GMT -5. The time now is 07:24 AM.