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)
Try ntfsfix command
lsblk
This command will list your drives find the ntfs partition it will be something like: /dev/sda1 Then run ntfsfix on that partition as root
sudo ntfsfix /dev/sda1
If you still boot windows you should disable fast startup it can cause this issue, Good luck!
(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 thefstab
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=
andgid=
mount options. If you don’t specify these, all files within the NTFS volume will appear as being owned by root. Use theuid=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.
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