Lädt...


🐧 "mount -o ro" does not write-protect last access dates on NTFS.


Nachrichtenbereich: 🐧 Linux Tipps
🔗 Quelle: reddit.com

(I am not looking for support with this post; it is just for information.) Looks like "mounting as read-only" is not the write-proof wall one might think it is.

After attaching an NTFS hard drive, I mouned it as read-only using mount -o remount,ro. Then I read a file's last access date using the "stat" command. It was a date in March 2022. Then, I opened that PNG file inside Firefox, ran stat on it again, and its last access time was reset (2022-06-21 22:51:09).

I first assumed that the new last access time is just in the RAM, not on the actual drive. I disconnected the drive, reconnected it, mounted it as read-only, and the last accessed time was still 2022-06-21 22:51:09.

This means the contents of the file system were modified despite of the read-only option. Needless to say, this made me lose trust in it, since it is not that write-proof wall I thought it is. Apparently, this behaviour is specific to NTFS, since it has not happened so far with FAT32, exFAT, or ext4. Looks like the only way to actually write-protect a drive is on controller level.

Obviously, mount -o ro can not protect from writes by tools that access the device on block level, but file attributes are on file system level. On other file systems like FAT*, it does protect from changing last access dates, but not on NTFS.

submitted by /u/ThrowAway237s
[link] [comments] ...

📰 "First Dates Hotel": So seht ihr die "First Dates"-Spin-Off-Show bei Vox


📈 48.48 Punkte
📰 IT Nachrichten

🍏 Tuxera NTFS 2022 - NTFS driver developed from the popular open-source NTFS-3G driver.


📈 45.42 Punkte
🍏 iOS / Mac OS

🍏 DoYourData NTFS for Mac 2.2 - Grant Full Read-Write Access to NTFS Drives on Mac.


📈 43.07 Punkte
🍏 iOS / Mac OS

🍏 Paragon NTFS 15.10.559 - Provides full read and write access to Windows NTFS drives in macOS.


📈 43.07 Punkte
🍏 iOS / Mac OS

📰 NTFS-3G Driver Now Enables Read-Only Mount Fallback for Hibernating NTFS Drives


📈 42.88 Punkte
📰 IT Security Nachrichten

🍏 Donemax NTFS for Mac 2.3 - Read-write NTFS drives on Mac.


📈 38.31 Punkte
🍏 iOS / Mac OS

🐧 I think I don't need ntfs-3g to write ntfs :)


📈 38.31 Punkte
🐧 Linux Tipps

🍏 Mounty 1.16 - Re-mount NTFS Volumes in read/write mode.


📈 35.77 Punkte
🍏 iOS / Mac OS

🐧 fstab mount only on boot but not when mount point is accessed


📈 30.52 Punkte
🐧 Linux Tipps

🕵️ ntfs-3g 2017.3.23 /bin/ntfs-3g Argument memory corruption


📈 30.28 Punkte
🕵️ Sicherheitslücken

🕵️ CVE-2022-40284 | NTFS-3G prior 2022.10.3 NTFS Image buffer overflow (DLA 3201-1)


📈 30.28 Punkte
🕵️ Sicherheitslücken

🐧 Union Mount: How to transfer files between different mount points based on access frequency?


📈 29.96 Punkte
🐧 Linux Tipps

🐧 Does linux have a trashcan and regardless of if it does or not. how does restoring old files work?


📈 29.14 Punkte
🐧 Linux Tipps

🐧 Linux's NTFS Driver Drops "No Access Rules" Option, Adds Small Optimizations


📈 27.87 Punkte
🐧 Linux Tipps

🐧 What could go wrong if you mount a NTFS partition as /home ?


📈 27.74 Punkte
🐧 Linux Tipps

🐧 What could go wrong if you mount a NTFS partition as /home ?


📈 27.74 Punkte
🐧 Linux Tipps

🐧 Mount Windows NTFS Drive on Linux


📈 27.74 Punkte
🐧 Linux Tipps

📰 How to Mount Windows/USB NTFS Partition in RHEL Systems


📈 27.74 Punkte
🐧 Unix Server

📰 How To Mount NTFS File System In Redhat/Centos


📈 27.74 Punkte
📰 Alle Kategorien

🐧 Fixing Mount Point Does Not Exist Error in Linux


📈 25.86 Punkte
🐧 Linux Tipps

🐧 Quick note: exFAT last access times are also not write-proof in read-only mode.


📈 25.6 Punkte
🐧 Linux Tipps

🍏 Hands-on: Belkin’s iPhone mount for desktop Mac displays is a secret tripod mount with MagSafe


📈 25.2 Punkte
🍏 iOS / Mac OS

🕵️ CVE-2009-1143 | VMware open-vm-tools prior 2009.03.18-154848 Share Mount mount.vmhgfs symlink


📈 25.2 Punkte
🕵️ Sicherheitslücken

📰 Neu von Sony: Adapter LA-EA5 für A-Mount-Objektive an E-Mount mit verbesserten AF-Funktionen


📈 25.2 Punkte
📰 IT Nachrichten

matomo