Writting in ReadOnly files with ZwCreateFile

Hi
Haw can I write into ReadOnly files with ZwCreateFile?
I try a lot of flag combinations, but it seems it doesnt work
What should I patch?
Please help… :wink:


You are currently subscribed to ntfsd as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com

Is that Monroe or Moron?

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Ali Monroe
Sent: Tuesday, November 20, 2001 9:51 AM
To: File Systems Developers
Subject: [ntfsd] Writting in ReadOnly files with ZwCreateFile

Hi
Haw can I write into ReadOnly files with ZwCreateFile?
I try a lot of flag combinations, but it seems it doesnt work What
should I patch? Please help… :wink:


You are currently subscribed to ntfsd as: xxxxx@storagecraft.com To
unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to ntfsd as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com

Succinct Jamey, but perhaps not totally helpful. Either he’s misunderstood something fundamental (the point or read-only files is they cannot be written to!) or he is assuming that ZwCreateFile will bypass lots of interesting checks. My immediate thought was that this is Monroe spelt V I R U S… but perhaps Ali would like to explain what (s)he is doing and why he thinks it could possibly be inteded to work!

Andy.

-----Original Message-----
From: Jamey Kirby [mailto:xxxxx@storagecraft.com]
Sent: 20 November 2001 15:06
To: File Systems Developers
Subject: [ntfsd] RE: Writting in ReadOnly files with ZwCreateFile

Is that Monroe or Moron?

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Ali Monroe
Sent: Tuesday, November 20, 2001 9:51 AM
To: File Systems Developers
Subject: [ntfsd] Writting in ReadOnly files with ZwCreateFile

Hi
Haw can I write into ReadOnly files with ZwCreateFile?
I try a lot of flag combinations, but it seems it doesnt work What
should I patch? Please help… :wink:


You are currently subscribed to ntfsd as: xxxxx@storagecraft.com To
unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to ntfsd as: xxxxx@earthling.net
To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com


FREE Personalized E-mail at Mail.com

http://www.mail.com/?sr=signup

Talk More, Pay Less with Net2Phone Direct(R), up to 1500 minutes free!

http://www.net2phone.com/cgi-bin/link.cgi?143


You are currently subscribed to ntfsd as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com

on·ly (on’le) adv. And nothing else or more.

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com]On Behalf Of Ali Monroe
Sent: 20 November 2001 09:51
To: File Systems Developers
Subject: [ntfsd] Writting in ReadOnly files with ZwCreateFile

Hi
Haw can I write into ReadOnly files with ZwCreateFile?
I try a lot of flag combinations, but it seems it doesnt work
What should I patch?
Please help… :wink:


You are currently subscribed to ntfsd as: xxxxx@ntlworld.com
To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to ntfsd as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com

The solution is to modify the file attributes ,modify the file then
restore file attributes.But I guessed there is a less time consuming method
(as it is in win9x ); that’s why I ask this stupid question


You are currently subscribed to ntfsd as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com

-----Original Message-----
From: Ali Monroe [mailto:xxxxx@yahoo.com]

> that’s why I ask this stupid question

OK, my apologies. I’m just paranoid…

Seriously though NT has this funny thing called security which is by and large absent from 9x. A lot of short cuts of that type won’t be present on NT. Those of you who know some please don’t publish them here!

Andy.


FREE Personalized E-mail at Mail.com

http://www.mail.com/?sr=signup

Talk More, Pay Less with Net2Phone Direct(R), up to 1500 minutes free!

http://www.net2phone.com/cgi-bin/link.cgi?143


You are currently subscribed to ntfsd as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com