LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > General
User Name
Password
General This forum is for non-technical general discussion which can include both Linux and non-Linux topics. Have fun!

Notices


Reply
  Search this Thread
Old 08-15-2021, 03:55 AM   #1
BudiKusasi
Member
 
Registered: Apr 2017
Distribution: Debian (MX)
Posts: 208

Rep: Reputation: Disabled
One on Linux can outright delete Windows files in its NTFS


How come anyone on Linux can outright simply delete and read Windows files in its file system NTFS ???
 
Old 08-15-2021, 04:34 AM   #2
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 5,707
Blog Entries: 16

Rep: Reputation: 3385Reputation: 3385Reputation: 3385Reputation: 3385Reputation: 3385Reputation: 3385Reputation: 3385Reputation: 3385Reputation: 3385Reputation: 3385Reputation: 3385
The linux kernel can read just about any filesystem that exists. That's a feature, not a bug! But you can't write to an NTFS filesystem without installing a special ntfs-3g toolkit.

More generally, Linux always assumes that its users are smart people who can be trusted with power over their systems because they won't do anything really stupid. If you think that kind of trust is misplaced in your case, then stick to Windows.

Last edited by hazel; 08-15-2021 at 05:30 AM.
 
Old 08-15-2021, 05:11 AM   #3
GazL
LQ Veteran
 
Registered: May 2008
Posts: 6,054

Rep: Reputation: 4076Reputation: 4076Reputation: 4076Reputation: 4076Reputation: 4076Reputation: 4076Reputation: 4076Reputation: 4076Reputation: 4076Reputation: 4076Reputation: 4076
The ntfs-3g fuse driver provides many options related to access control and file permissions. I suggest you go have a read and then configure your system to your needs rather than just use the defaults.

Start with man ntfs-3g, or a google search.
 
Old 08-15-2021, 05:39 AM   #4
Trihexagonal
Member
 
Registered: Jul 2017
Posts: 245

Rep: Reputation: 293Reputation: 293Reputation: 293
Quote:
Originally Posted by hazel View Post
If you think that kind of trust is misplaced in your case, then stick to Windows.
The truth hurts sometimes, most of all when you see it in yourself unexpectedly.
 
Old 08-16-2021, 03:00 PM   #5
sundialsvcs
LQ Guru
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 9,291
Blog Entries: 4

Rep: Reputation: 3318Reputation: 3318Reputation: 3318Reputation: 3318Reputation: 3318Reputation: 3318Reputation: 3318Reputation: 3318Reputation: 3318Reputation: 3318Reputation: 3318
Obviously, to Linux, "NTFS" (just like the network "NFS" and many others ...) is a "foreign filesystem." It has been very conscientiously engineered to fully respect important issues like security, but it cannot completely accomplish this because [Windows' ...] very elaborate and multi-faceted security architecture does not exist. The operating environments are fundamentally different. Therefore, y-o-u need to educate yourself about the various available features in order to adequately enforce the security of this "cross-platform" system. The tools and features are out there ...

And, by the way: "comparable issues raise their heads every time 'cross-platform' becomes an issue." You've got to keep the apples from demolishing the oranges.

Last edited by sundialsvcs; 08-16-2021 at 03:02 PM.
 
Old 08-16-2021, 05:49 PM   #6
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 10,118

Rep: Reputation: 4687Reputation: 4687Reputation: 4687Reputation: 4687Reputation: 4687Reputation: 4687Reputation: 4687Reputation: 4687Reputation: 4687Reputation: 4687Reputation: 4687
Quote:
Originally Posted by BudiKusasi View Post
How come anyone on Linux can outright simply delete and read Windows files in its file system NTFS ???
I've used Linux to mount, read and write NTFS-formatted external hard drives. Lots of times.

What's the problem here?

Last edited by dugan; 08-16-2021 at 10:49 PM.
 
Old 08-16-2021, 08:30 PM   #7
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 17,657
Blog Entries: 28

Rep: Reputation: 5499Reputation: 5499Reputation: 5499Reputation: 5499Reputation: 5499Reputation: 5499Reputation: 5499Reputation: 5499Reputation: 5499Reputation: 5499Reputation: 5499
Code:
man ntfs-3g
 
Old 08-17-2021, 06:29 PM   #8
rokytnji
LQ Veteran
 
Registered: Mar 2008
Location: Waaaaay out West Texas
Distribution: AntiX 19
Posts: 6,356
Blog Entries: 21

Rep: Reputation: 3199Reputation: 3199Reputation: 3199Reputation: 3199Reputation: 3199Reputation: 3199Reputation: 3199Reputation: 3199Reputation: 3199Reputation: 3199Reputation: 3199
As far as I know. A password is still required . So not just anyone. If talking dual boot installations.

Now. I have used live linux runs to fix my wife's Windows gear. That is a different story.
 
Old 08-18-2021, 07:22 AM   #9
rtmistler
Moderator
 
Registered: Mar 2011
Location: USA
Distribution: MINT Debian, Angstrom, SUSE, Ubuntu, Debian
Posts: 9,396
Blog Entries: 13

Rep: Reputation: 4488Reputation: 4488Reputation: 4488Reputation: 4488Reputation: 4488Reputation: 4488Reputation: 4488Reputation: 4488Reputation: 4488Reputation: 4488Reputation: 4488
Quote:
Originally Posted by BudiKusasi View Post
How come anyone on Linux can outright simply delete and read Windows files in its file system NTFS ???
Perhaps you should expand on this question. It more seems a rant versus a discussion topic. If intended to be a discussion topic, then what besides your triple question marks are really your thoughts here. As for mine, this capability is perfectly natural. To whit, doesn't Windows have this potential capability when Linux provides NFS mount or Samba share directories?
 
Old 08-18-2021, 08:04 PM   #10
enorbet
Senior Member
 
Registered: Jun 2003
Location: Virginia
Distribution: Slackware = Main OpSys
Posts: 3,839

Rep: Reputation: 3656Reputation: 3656Reputation: 3656Reputation: 3656Reputation: 3656Reputation: 3656Reputation: 3656Reputation: 3656Reputation: 3656Reputation: 3656Reputation: 3656
I haven't used any release of Windows for more than a few minutes in about 14 years but I do recall sometime awhile back there was a Windows driver to read ext file systems but iirc it was ext2 only. There may be newer versions that support 3 or 4 but probably not due to a possible lack of journaling awareness. Anyway while reading ext file systems from Windows had some upsides it also had considerable risk, far more than any version of ntfs write ability and vastly more than Linux ntfs readability which is essentially zero risk. I gather this is because of the difference in the ntfs and ext file systems in terms of extended attribute capabilities. Ext file systems are designed with an extensive array of permissions, for example, that ntfs just doesn't have. One example is Groups awareness and assign-ability.

I really rarely carte anymore since I so rarely use Windows but I do recall being very thankful I could modify and delete ntfs files from Linux as it was the only way to fix some problems, at the very least until bootable Win PE Live systems became available. Just Look before you Leap, that's all and be glad for the power.
 
Old 09-17-2021, 02:42 PM   #11
SlowCoder
Member
 
Registered: Oct 2004
Location: Southeast, U.S.A.
Distribution: Ubuntu, Mint
Posts: 996

Rep: Reputation: 48
Maybe I'm wrong here ... I thought that Linux can read NTFS because NTFS is only "secured" by the host system (Windows). e.g. without encryption, there really isn't anything that prevents Linux from reading the data and just ignoring the NTFS security flags. Are the ext* filesystems any different?
 
Old 09-17-2021, 03:02 PM   #12
maw_walker
Member
 
Registered: Jul 2021
Location: US
Distribution: FreeBSD, Kali
Posts: 79

Rep: Reputation: Disabled
SlowCoder: my take as well. As long as any file system is unencrypted, any OS that can read that file system can also delete, etc. I don't ever remember deleting from an NTFS volume but you certainly can read it. I don't see any reason why you couldn't delete.
 
Old 09-17-2021, 03:42 PM   #13
enorbet
Senior Member
 
Registered: Jun 2003
Location: Virginia
Distribution: Slackware = Main OpSys
Posts: 3,839

Rep: Reputation: 3656Reputation: 3656Reputation: 3656Reputation: 3656Reputation: 3656Reputation: 3656Reputation: 3656Reputation: 3656Reputation: 3656Reputation: 3656Reputation: 3656
I have deleted NTFS files from Linux many times. I have found that feature to be very helpful at times. For about 2 months way back in XP64 days I loaded an ext2 driver in XP. That was a mistake I've never repeated.
 
Old 09-17-2021, 08:23 PM   #14
enigma9o7
Member
 
Registered: Jul 2018
Location: Silicon Valley
Distribution: Bodhi Linux
Posts: 611

Rep: Reputation: 223Reputation: 223Reputation: 223
Cuz paragon just finally PR'd their NTFS driver to linux kernel.... like a couple weeks ago... Linus did complain there were some github webgui merges tho, but accepted it anyway.

(i know fuse was available before that)

Last edited by enigma9o7; 09-17-2021 at 08:24 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
One HDD with one shared NTFS, one Windows, and three or four linux partions? dusf Linux - Newbie 1 01-23-2014 05:12 PM
Has any pharmaceutical company ever discovered an outright 'cure' for anything? Robert.Thompson General 17 03-06-2012 01:45 PM
Can I delete files in /mnt/tmp? and Files in the trash can will not delete? M$ISBS Slackware 15 10-02-2009 11:56 PM
can i delete windows files from linux in ntfs partition sting1220 Linux - Newbie 1 12-23-2007 12:08 AM
purchesing domain names outright crm Linux - Networking 1 08-01-2004 12:25 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > General

All times are GMT -5. The time now is 04:15 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration