This laptop has one hard disk with two partitions. One of them has a bunch of data. I can’t delete the data at all, dolphin(the file manager) gives a “not enough permissions error”. When I try to delete stuff with rm it displays this:

rm: cannot remove ‘filename’: Read-only file system

What do I do?

EDIT: I backed up the data and reformatted the partition. This completely broke my install and fedora wouldn’t open at all. I popped in a live USB, backed up some other stuff and I am reinstalling fedora right now (writing this from the live installer :P)

  • Nightwatch Admin@feddit.nl
    link
    fedilink
    arrow-up
    1
    ·
    22 days ago

    Best way IMHO is copy all the files to another disk, double check and then format the partition into your favourite filesystem, and copy everything back. NTFS can be a bit of trouble.

  • rtxn@lemmy.world
    link
    fedilink
    English
    arrow-up
    2
    arrow-down
    1
    ·
    edit-2
    22 days ago

    (edit) I assume you’re mounting the NTFS volume using fstab, which is how you should mount internal drives. If you’re trying to use the file manager to mount it dynamically, you really should look into how to use the fstab file.

    I’d like to see your mount options.

    As others have said, it’s best to explicitly mount it with the rw option.

    Second, because NTFS doesn’t understand the Unix-like file ownership of users and groups, you have to specify the UID and GID of the mounted filesystem using the uid= and gid= mount options. If you don’t specify these, all files within the NTFS volume will appear as being owned by root. Use the uid=1000,gid=1000 options to mount the volume as owned by your user.

    Third, use the windows_names option as well. Otherwise the filesystem will allow you to create files with illegal names, and that will completely fuck up the volume when mounted on Windows. For example, the : character is permitted by NTFS, but not by Windows.

    Although, in general, just avoid using NTFS on Linux if you can. The driver is good, but there are too many basic conceptual differences between NTFS and most Linux filesystems.

    • maliciousonion@lemmy.mlOP
      link
      fedilink
      English
      arrow-up
      2
      ·
      edit-2
      22 days ago

      Yeah… I am so sorry but I’m just a beginner and all I see here is a bunch of jargon. I am trying the solution that @nightwatch_admin has suggested here at the moment.

      Could you please point me to some sort of simple guide/video? If that’s not too big of a hassle