linux file locks
linux file locks
It seems like you're questioning why certain things are limited in Linux. The reason is rooted in how file systems and permissions work differently across platforms. Linux does enforce Windows-style ownership rules, which can slow down processes that need quick access. We should be able to delete threats instantly, not just wait hours for approval. It's frustrating when we can't remove malware or even our own files from a new Linux system if they were created on an older one. Plus, learning all this Linux terminology is tough since it's often used for virus removal.
Nightmare-Rex, this doesn’t seem to relate to the OS’s general settings but more to the permission configuration on the filesystem or how it was attached. You’ll likely need to switch off the live installation and actually install if you can’t get root access. Many current distributions aren’t meant for regular use. Consider using the distribution name or leaving a blank password for sudo. Proceed with caution—root can wipe your system, so be mindful. Linux and Unix systems won’t stop root from deleting the machine, which is why some live setups disable editing to avoid mistakes. New users often face issues like “Windows won’t boot” after trying a live CD, so mounting it read-only is common. To remount it, you’ll need sudo enabled. Use lsblk and mount commands to locate the device, then remount with read/write permissions via sudo.
To avoid data loss, it can still be manually attached in Linux using "rw". Locate the disk and partition with fdisk -l. Delete the Windows metadata used for Fast Boot with ntfsfix on /dev/PART_TO_MOUNT. Ensure you have a directory to mount in that location with sufficient permissions. Create the directory with mkdir /mnt/windows, change ownership using chown $USER:$USER -R /mnt/windows, then mount the partition at /mnt/windows.
It's understandable you're finding Linux a bit unfamiliar, but it's great you're exploring mounting options. You're right about needing to switch from -R to -RW once mounted. Regarding storage, buying an extra stick under 8GB can be tricky since prices often match for similar capacities. As for metadata, yes, that’s the security feature—Windows 10 and 11 allow detailed tracking of files, including origin, computer info, and timestamps. Changing the OS might affect how this data is handled. For Windows versions, the behavior is generally consistent.
You may be handling two distinct issues. The filesystem is mounted read-only, meaning even root cannot alter permissions until it's remounted as read-write. The OS labels the files as RO, allowing root (or sudo) to modify permissions. It seems unclear why advice varies so much from different sources.
I understand the issue isn't that the files can't be modified on Linux Mint 7 or newer, but the version above 8 causes problems. I tried the latest update and it prompted for a password, so I can't gain root access on the live 8+ system (especially with version 20).
allright so i have to do it before boot or something?since when try sudo su on the LIVE "cd" it ask for password. so i assume theres some sort of default password for LM 8+m jus tupdated the mint to latest now 20.4 doing that i still cannot delete or modify files on hardrive thugh evne thugh this time diddent ask for password.
Linux Mint doesn't require a password for the root account. Entering sudo su will update the terminal display to show this without prompting for credentials. To confirm the Windows partition is mounted correctly, mount it and launch the terminal. Execute the findmnt command; it will display all connected volumes. Locate your Windows drive in the output. The fstype column should show NTFS or FUSE options, while the mount type should appear as read/write. With these settings, you can manage files freely without permission problems. Which specific files are you attempting to remove? Many system files, like windows.old, can be cleared using Windows disk cleanup when run with admin rights.