F5F Stay Refreshed Software Operating Systems linux file locks

linux file locks

linux file locks

Pages (3): Previous 1 2 3 Next
B
bengalwatcher
Posting Freak
801
08-06-2023, 11:29 AM
#11
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.
B
bengalwatcher
08-06-2023, 11:29 AM #11

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.

B
be_happy99910
Junior Member
25
08-06-2023, 12:13 PM
#12
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.
B
be_happy99910
08-06-2023, 12:13 PM #12

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.

K
Kusiu4444
Member
170
08-10-2023, 09:46 AM
#13
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.
K
Kusiu4444
08-10-2023, 09:46 AM #13

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.

M
mafio89
Junior Member
6
08-10-2023, 10:25 AM
#14
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.
M
mafio89
08-10-2023, 10:25 AM #14

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.

W
WoRRaDeR
Junior Member
11
08-18-2023, 12:43 AM
#15
Linux Mint and Ubuntu prevent root access by default; adjust permissions using sudo. Apply changes with chmod (full read/write). Add read permission with chmod a+rw and set proper ownership with -R.
W
WoRRaDeR
08-18-2023, 12:43 AM #15

Linux Mint and Ubuntu prevent root access by default; adjust permissions using sudo. Apply changes with chmod (full read/write). Add read permission with chmod a+rw and set proper ownership with -R.

S
SayNoToNWO
Posting Freak
879
09-05-2023, 12:44 AM
#16
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.
S
SayNoToNWO
09-05-2023, 12:44 AM #16

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.

E
Ednokret
Junior Member
7
09-05-2023, 08:00 PM
#17
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).
E
Ednokret
09-05-2023, 08:00 PM #17

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).

S
SK11
Member
62
09-06-2023, 01:09 AM
#18
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.
S
SK11
09-06-2023, 01:09 AM #18

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.

D
Doggith
Junior Member
11
09-07-2023, 11:50 PM
#19
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.
D
Doggith
09-07-2023, 11:50 PM #19

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.

L
L3tsMax
Junior Member
48
09-08-2023, 08:28 AM
#20
L
L3tsMax
09-08-2023, 08:28 AM #20

Pages (3): Previous 1 2 3 Next