# Impossible to move/modify/create files/documents

**URL:** <https://dietpi.com/forum/t/impossible-to-move-modify-create-files-documents/21432>\
**Category:** General Discussion\
**Created:** [13 September 2024 14:48 UTC](https://dietpi.com/forum/t/impossible-to-move-modify-create-files-documents/21432 "2024-09-13T14:48:30Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![crodriguez](https://dietpi.com/forum/letter_avatar_proxy/v4/letter/c/b77776/32.png) [@crodriguez](https://dietpi.com/forum/u/crodriguez)\
**Post date:** [13 September 2024 14:48 UTC](https://dietpi.com/forum/t/impossible-to-move-modify-create-files-documents/21432/1 "2024-09-13T14:48:30Z")

</div>

Currently I have added an HDD in ntfs format (I had it in a windows operating system) with multimedia content for plex, and in plex everything works correctly, but through a terminal or webmin with root it only allows me to view on that unit, the user, in the drive manager I see that the status is Drive is online and ready for use, the permissions it has are root:root 0775, obviously I log in with root and I still have the same problem.

---

<div class="post-metadata">

**Author:** ![StephanStS](https://dietpi.com/forum/user_avatar/dietpi.com/stephansts/32/2522_2.png) [@StephanStS](https://dietpi.com/forum/u/StephanStS)\
**Post date:** [13 September 2024 16:06 UTC](https://dietpi.com/forum/t/impossible-to-move-modify-create-files-documents/21432/2 "2024-09-13T16:06:53Z")

</div>

Is the HDD connected via USB? If yes, is there an active USB hub in between which powers the USB disk?  
Maybe the power of the PCB is not sufficient to run the disk.

---

<div class="post-metadata">

**Author:** ![crodriguez](https://dietpi.com/forum/letter_avatar_proxy/v4/letter/c/b77776/32.png) [@crodriguez](https://dietpi.com/forum/u/crodriguez)\
**Post date:** [13 September 2024 16:29 UTC](https://dietpi.com/forum/t/impossible-to-move-modify-create-files-documents/21432/3 "2024-09-13T16:29:39Z")

</div>

It is directly on the board, and the same hardware but with Windows it works without problems.

---

<div class="post-metadata">

**Author:** ![StephanStS](https://dietpi.com/forum/user_avatar/dietpi.com/stephansts/32/2522_2.png) [@StephanStS](https://dietpi.com/forum/u/StephanStS)\
**Post date:** [13 September 2024 18:18 UTC](https://dietpi.com/forum/t/impossible-to-move-modify-create-files-documents/21432/4 "2024-09-13T18:18:36Z")

</div>

So your hardware is a PC with a SATA HDD?

---

<div class="post-metadata">

**Author:** ![crodriguez](https://dietpi.com/forum/letter_avatar_proxy/v4/letter/c/b77776/32.png) [@crodriguez](https://dietpi.com/forum/u/crodriguez)\
**Post date:** [13 September 2024 19:16 UTC](https://dietpi.com/forum/t/impossible-to-move-modify-create-files-documents/21432/5 "2024-09-13T19:16:59Z")

</div>

Yes, 5 satas

---

<div class="post-metadata">

**Author:** ![Joulinar](https://dietpi.com/forum/user_avatar/dietpi.com/joulinar/32/57_2.png) [@Joulinar](https://dietpi.com/forum/u/Joulinar)\
**Post date:** [13 September 2024 20:32 UTC](https://dietpi.com/forum/t/impossible-to-move-modify-create-files-documents/21432/6 "2024-09-13T20:32:25Z")

</div>

I guess it’s access issue due to file system permissions. You are using NTF, which is not a Linux file system. Hence no support for file system permissions. Therefore we set permission for root user only. Means, you should be able to write files as root user but not as another user.

---

<div class="post-metadata">

**Author:** ![crodriguez](https://dietpi.com/forum/letter_avatar_proxy/v4/letter/c/b77776/32.png) [@crodriguez](https://dietpi.com/forum/u/crodriguez)\
**Post date:** [14 September 2024 06:45 UTC](https://dietpi.com/forum/t/impossible-to-move-modify-create-files-documents/21432/7 "2024-09-14T06:45:08Z")

</div>

I log in via ssh and webmin with root and I’m still the same, it doesn’t let me do anything, now I’ve connected via winscp and look at what it tells me:  
The command «mkdir “test”»  
failed, with error code 1 and the following error message.  
mkdir: cannot create directory ‘test’: Read-only file system

---

<div class="post-metadata">

**Author:** ![Jappe](https://dietpi.com/forum/user_avatar/dietpi.com/jappe/32/1788_2.png) [@Jappe](https://dietpi.com/forum/u/Jappe)\
**Post date:** [14 September 2024 14:12 UTC](https://dietpi.com/forum/t/impossible-to-move-modify-create-files-documents/21432/8 "2024-09-14T14:12:12Z")

</div>

Can you check with `dietpi-drive_manager` if it is set to read only and if yes, just toggle it and try again.

---

<div class="post-metadata">

**Author:** ![crodriguez](https://dietpi.com/forum/letter_avatar_proxy/v4/letter/c/b77776/32.png) [@crodriguez](https://dietpi.com/forum/u/crodriguez)\
**Post date:** [14 September 2024 14:48 UTC](https://dietpi.com/forum/t/impossible-to-move-modify-create-files-documents/21432/9 "2024-09-14T14:48:01Z")

</div>

![17263251826464259292056383113978](https://dietpi.com/forum/uploads/default/original/2X/1/15fd1a95a15620165ed0aeb09a11440dc33cd3b4.jpeg)  
I attach a screenshot of the drive manager

---

<div class="post-metadata">

**Author:** ![StephanStS](https://dietpi.com/forum/user_avatar/dietpi.com/stephansts/32/2522_2.png) [@StephanStS](https://dietpi.com/forum/u/StephanStS)\
**Post date:** [14 September 2024 17:07 UTC](https://dietpi.com/forum/t/impossible-to-move-modify-create-files-documents/21432/10 "2024-09-14T17:07:21Z")

</div>

The `[X]` in the “Read Only” line shows that it is mounted read only. Can you toggle it like Jappe mentioned?

---

<div class="post-metadata">

**Author:** ![crodriguez](https://dietpi.com/forum/letter_avatar_proxy/v4/letter/c/b77776/32.png) [@crodriguez](https://dietpi.com/forum/u/crodriguez)\
**Post date:** [15 September 2024 05:55 UTC](https://dietpi.com/forum/t/impossible-to-move-modify-create-files-documents/21432/11 "2024-09-15T05:55:12Z")

</div>

He throws me the following message:  
[FAILED] Could not apply  
Error log:  
Remounting is not supported at present. You have to umount volume and then mount it once again.

I have tried to disassemble the unit and reassemble it and it is still the same… it still gives me the same problem

---

<div class="post-metadata">

**Author:** ![StephanStS](https://dietpi.com/forum/user_avatar/dietpi.com/stephansts/32/2522_2.png) [@StephanStS](https://dietpi.com/forum/u/StephanStS)\
**Post date:** [15 September 2024 09:16 UTC](https://dietpi.com/forum/t/impossible-to-move-modify-create-files-documents/21432/12 "2024-09-15T09:16:00Z")

</div>

If your disk is mounted, can you give the output of `/etc/fstab`

---

<div class="post-metadata">

**Author:** ![crodriguez](https://dietpi.com/forum/letter_avatar_proxy/v4/letter/c/b77776/32.png) [@crodriguez](https://dietpi.com/forum/u/crodriguez)\
**Post date:** [15 September 2024 10:52 UTC](https://dietpi.com/forum/t/impossible-to-move-modify-create-files-documents/21432/13 "2024-09-15T10:52:39Z")

</div>

sorry but I haven’t understood you, when you put that command it tells me permissions denied

![dietpi1](https://dietpi.com/forum/uploads/default/original/2X/2/2665ef78de04d657e0981f998f461e80567d0348.jpeg)

---

<div class="post-metadata">

**Author:** ![StephanStS](https://dietpi.com/forum/user_avatar/dietpi.com/stephansts/32/2522_2.png) [@StephanStS](https://dietpi.com/forum/u/StephanStS)\
**Post date:** [15 September 2024 13:08 UTC](https://dietpi.com/forum/t/impossible-to-move-modify-create-files-documents/21432/14 "2024-09-15T13:08:33Z")

</div>

/etc/fstab is a configuration file. You could Google about it to learn what’s it for.  
I meant `cat /etc/fstab`

---

<div class="post-metadata">

**Author:** ![crodriguez](https://dietpi.com/forum/letter_avatar_proxy/v4/letter/c/b77776/32.png) [@crodriguez](https://dietpi.com/forum/u/crodriguez)\
**Post date:** [15 September 2024 13:23 UTC](https://dietpi.com/forum/t/impossible-to-move-modify-create-files-documents/21432/15 "2024-09-15T13:23:55Z")

</div>

> [@StephanStS](#):
>
> cat /etc/fstab

ups…sorry…

 ![dietpi2](https://dietpi.com/forum/uploads/default/original/2X/d/d8cc0870552b57ace6f99165c18b8bd2c3436549.jpeg)

---

<div class="post-metadata">

**Author:** ![StephanStS](https://dietpi.com/forum/user_avatar/dietpi.com/stephansts/32/2522_2.png) [@StephanStS](https://dietpi.com/forum/u/StephanStS)\
**Post date:** [15 September 2024 15:42 UTC](https://dietpi.com/forum/t/impossible-to-move-modify-create-files-documents/21432/16 "2024-09-15T15:42:01Z")

</div>

In the section “Physical drives” there is the sd-card (mounted on `/`) and five other disks (mounted below `/mnt/`).  
All of these disks have the option `ro` set. So It would be an option to set the option to `rw` for your plex mounted disk. This can be done by editing the file `/etc/fstab` and change the last entry (from the UUID and the `dietpi-drive_manager` screenshot above I see that the last entry with UUID=01DA…EE60 is the disk you are struggling). Change the `ro` to `rw`.  
Then easily reboot the system.

Then you can check with `dietpi-drive_manager` whether the “read only” flag is now cleared.

---

<div class="post-metadata">

**Author:** ![crodriguez](https://dietpi.com/forum/letter_avatar_proxy/v4/letter/c/b77776/32.png) [@crodriguez](https://dietpi.com/forum/u/crodriguez)\
**Post date:** [15 September 2024 16:27 UTC](https://dietpi.com/forum/t/impossible-to-move-modify-create-files-documents/21432/17 "2024-09-15T16:27:23Z")

</div>

I have taken the test with a folder and I am still the same

 ![dietpi3](https://dietpi.com/forum/uploads/default/original/2X/b/b8f633fec1f3576e058d27555db5e5b5eecb0452.jpeg)

---

<div class="post-metadata">

**Author:** ![Jappe](https://dietpi.com/forum/user_avatar/dietpi.com/jappe/32/1788_2.png) [@Jappe](https://dietpi.com/forum/u/Jappe)\
**Post date:** [15 September 2024 18:39 UTC](https://dietpi.com/forum/t/impossible-to-move-modify-create-files-documents/21432/18 "2024-09-15T18:39:25Z")

</div>

But 4 entries have still `ro` option set. 🤔

---

<div class="post-metadata">

**Author:** ![crodriguez](https://dietpi.com/forum/letter_avatar_proxy/v4/letter/c/b77776/32.png) [@crodriguez](https://dietpi.com/forum/u/crodriguez)\
**Post date:** [15 September 2024 19:20 UTC](https://dietpi.com/forum/t/impossible-to-move-modify-create-files-documents/21432/19 "2024-09-15T19:20:15Z")

</div>

I’m testing only on one HDD to avoid corrupting several data HDDs, but as I told you… If it doesn’t work on one ticket, what’s the point of doing it on all of them? If it doesn’t work on one, it shouldn’t work on the others, right?

---

<div class="post-metadata">

**Author:** ![Jappe](https://dietpi.com/forum/user_avatar/dietpi.com/jappe/32/1788_2.png) [@Jappe](https://dietpi.com/forum/u/Jappe)\
**Post date:** [16 September 2024 16:59 UTC](https://dietpi.com/forum/t/impossible-to-move-modify-create-files-documents/21432/20 "2024-09-16T16:59:51Z")

</div>

Yes you are right. I tested it now with a USB stick and it works withour problems on my system.

So the only thing I can think of now is, that there is some filesystem corruption with prevents the correct mounting on linux.  
The `ntfs-3g` driver comes with a tool `ntfsfix`, you could run it an see if it changes anything, but ONLY if you have a backup of the files from the external drives.  
[https://askubuntu.com/questions/70281/why-does-my-ntfs-partition-mount-as-read-only](https://askubuntu.com/questions/70281/why-does-my-ntfs-partition-mount-as-read-only)

Or you could try to run `chkdsk` on a Windows system, I’ve read that the `ntfsfix` is a bit limited in comparison to `ntfsfix`.

[Next page](https://dietpi.com/forum/t/impossible-to-move-modify-create-files-documents/21432.md?page=2)
