LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 05-31-2005, 04:41 AM   #1
chocobanana
Member
 
Registered: Jun 2004
Location: Vice City
Distribution: Suse 10.1
Posts: 30

Rep: Reputation: 15
NTFS rewrite?


Greetings

I have just one small curiosity:

If one is using KDE file manager in super user mode and tries to delete the files of a NTFS partition mounted as read-only in fstab, is it possible that the files are actually deleted?

Thanks
 
Old 05-31-2005, 04:48 AM   #2
ArbiterOne
LQ Newbie
 
Registered: Oct 2004
Location: Munich, Germany
Distribution: Slackware 10.1
Posts: 18

Rep: Reputation: 0
Why are you asking? Has it happened?
If it's mounted readonly.... no, I couldn't imagine a situation in which that could occur. Even superusers can't readwrite to readonly partitions- try adding something to /proc sometime and you'll see.
Do you have NTFS write support (EXPERIMENTAL) enabled? I don't use this but it's possible that could be your problem.
 
Old 05-31-2005, 04:36 PM   #3
chocobanana
Member
 
Registered: Jun 2004
Location: Vice City
Distribution: Suse 10.1
Posts: 30

Original Poster
Rep: Reputation: 15
I think nothing happened, but while I was in super user mode in kde (kdesu) I accidently pressed delete over a ntfs partition in /mnt and it showed the windows with deleting in progress, but I canceled right away.

But I think that everything is fine, that's why I said it is just a curiosity...
 
Old 06-01-2005, 07:15 AM   #4
ArbiterOne
LQ Newbie
 
Registered: Oct 2004
Location: Munich, Germany
Distribution: Slackware 10.1
Posts: 18

Rep: Reputation: 0
If anything got deleted it's possible that your mount point might be gone- in which case all you need to do is re-mkdir the mount point.
 
Old 06-01-2005, 09:00 AM   #5
TruckStuff
Member
 
Registered: Apr 2002
Posts: 498

Rep: Reputation: 30
NTFS write support is very limited. According to the kernel docs, you can only overwrite files on an NTFS partition if they are the exact same size. So I can't imagine that anything more than the mount folder was deleted.
 
  


Reply



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
rewrite command, how to? microsmart Linux - General 9 09-29-2005 03:21 PM
how can i rewrite csstudy Linux - General 1 03-30-2005 01:35 AM
Mod Rewrite Help carminejg3 Linux - Software 0 12-20-2004 05:19 PM
burn:/// can't rewrite? systinte5 Linux - Software 0 06-03-2004 03:07 PM
How can I rewrite /boot? Molox Linux - Software 1 03-20-2003 08:42 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 07:16 AM.

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