LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-27-2021, 03:33 AM   #1
Mike-Adams
LQ Newbie
 
Registered: Mar 2021
Posts: 4

Rep: Reputation: Disabled
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.
 
Old 03-28-2021, 03:37 PM   #2
teckk
LQ Guru
 
Registered: Oct 2004
Distribution: Arch
Posts: 5,103
Blog Entries: 6

Rep: Reputation: 1822Reputation: 1822Reputation: 1822Reputation: 1822Reputation: 1822Reputation: 1822Reputation: 1822Reputation: 1822Reputation: 1822Reputation: 1822Reputation: 1822
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 .*/ */
 
Old 03-29-2021, 01:11 AM   #3
Mike-Adams
LQ Newbie
 
Registered: Mar 2021
Posts: 4

Original Poster
Rep: Reputation: Disabled
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
 
Old 03-29-2021, 01:17 AM   #4
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,691

Rep: Reputation: 7274Reputation: 7274Reputation: 7274Reputation: 7274Reputation: 7274Reputation: 7274Reputation: 7274Reputation: 7274Reputation: 7274Reputation: 7274Reputation: 7274
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.
 
  


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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to fix error: " error while loading shared libraries: libssl.so.1.0.0: cannot open shared object file: No such file or directory"? justa_skid Linux - Newbie 2 02-22-2021 02:23 AM
Login Error- Could not chdir to home directory /home/UserID: No such file or directory abhi_jais Linux - Newbie 1 03-24-2018 12:01 PM
[SOLVED] executable file error: "No such file of directory" when file does exist dalgrim Slackware 8 11-03-2014 11:28 AM
[SOLVED] error: asm/ppc_asm.h: No such file or directory and error: asm/processor.h: No such f Thirupathip Linux - Newbie 3 01-25-2013 03:02 AM
windows eclipse platform - crt1.o: No such file: No such file or directory jnettleton Programming 2 05-18-2012 09:01 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:38 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