Rights to delete?
am 22.02.2007 15:04:00 von Gustav Wiberg
Hello!
=20
This is not strictly a PHP-question, but I hope anyone can help me... :-)
What has to be done on the webserver (IIS6.0) and the server if I want to d=
elete a file from a PHP-script?
I have tested with settings right IUSER.. On the server. But I still can't =
delete the files in a specific folder (like images/products)
Best regards
/Gustav Wiberg
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Re: Rights to delete?
am 22.02.2007 15:09:44 von Trystano
----------MB_8C924A23CC4FFBD_930_C3BA_WEBMAIL-DF09.sysops.ao l.com
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset="us-ascii"
The best way I solved a problem like this was to set the CHMOD settings on the relevant folders in my FTP app (SmartFTP).
Tryst
-----Original Message-----
From: gustav@hmn.se
To: php-windows@lists.php.net
Sent: Thu, 22 Feb 2007 2.04PM
Subject: [PHP-WIN] Rights to delete?
Hello!
This is not strictly a PHP-question, but I hope anyone can help me... :-)
What has to be done on the webserver (IIS6.0) and the server if I want to delete
a file from a PHP-script?
I have tested with settings right IUSER.. On the server. But I still can't
delete the files in a specific folder (like images/products)
Best regards
/Gustav Wiberg
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
----------MB_8C924A23CC4FFBD_930_C3BA_WEBMAIL-DF09.sysops.ao l.com--
RE: Rights to delete?
am 22.02.2007 15:31:00 von Gustav Wiberg
--20314765-41-1172154696-2268
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: quoted-printable
Hi there!
=20
Thanx for the tip, but I'm searching for ... something that isn't dependen=
t of ftp...
=20
Best regards
/Gustav Wiberg
=20
From: trystano@aol.com [mailto:trystano@aol.com]=20
Sent: Thursday, February 22, 2007 3:10 PM
To: gustav@hmn.se; php-windows@lists.php.net
Subject: Re: [PHP-WIN] Rights to delete?
The best way I solved a problem like this was to set the CHMOD settings on =
the relevant folders in my FTP app (SmartFTP).
Tryst
=20
=20
-----Original Message-----
From: gustav@hmn.se
To: php-windows@lists.php.net
Sent: Thu, 22 Feb 2007 2.04PM
Subject: [PHP-WIN] Rights to delete?
Hello!
=20
This is not strictly a PHP-question, but I hope anyone can help me... :-)
What has to be done on the webserver (IIS6.0) and the server if I want to d=
elete=20
a file from a PHP-script?
I have tested with settings right IUSER.. On the server. But I still can't=
=20
delete the files in a specific folder (like images/products)
Best regards
/Gustav Wiberg
--=20
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--20314765-41-1172154696-2268--
Re: Rights to delete?
am 22.02.2007 15:38:38 von Dijital
This sounds like it's just a permissions issue. IUSR (or the user
account that IIS is running under) must have modify rights to whichever
folder your script is trying to delete from. Cheers.
Armando
Gustav Wiberg wrote:
> Hello!
>
> This is not strictly a PHP-question, but I hope anyone can help me... :-)
>
> What has to be done on the webserver (IIS6.0) and the server if I want to delete a file from a PHP-script?
> I have tested with settings right IUSER.. On the server. But I still can't delete the files in a specific folder (like images/products)
>
> Best regards
> /Gustav Wiberg
>
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
RE: Rights to delete?
am 22.02.2007 15:41:39 von Styve Couture
I had the same problem when I have tried to migrate from Apache to IIS.
What I know is that with IIS and ASP.NET you have to go under the =
security option for your folder and give the right "modify" for the user =
NETWORK_SERVICE (under 2003 Server). This allows ASP.NET to delete files =
(like old logs for example).
So I thing you may have to find the right user (the one PHP use for =
executing its script) and gave it the right rights.
Please keep me informed if you find something.
Regards
Styve
-----Message d'origine-----
De=A0: Gustav Wiberg [mailto:gustav@hmn.se]=20
Envoyé : 22 f=E9vrier 2007 09:04
À : 'php windows' (php-windows@lists.php.net)
Objet=A0: [PHP-WIN] Rights to delete?
Hello!
=20
This is not strictly a PHP-question, but I hope anyone can help me... =
:-)
What has to be done on the webserver (IIS6.0) and the server if I want =
to delete a file from a PHP-script?
I have tested with settings right IUSER.. On the server. But I still =
can't delete the files in a specific folder (like images/products)
Best regards
/Gustav Wiberg
--=20
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
RE: Rights to delete?
am 22.02.2007 16:18:00 von Gustav Wiberg
Hi there!
I know which user it is. The problem is that nothing happens with the permi=
ssons... I assign the Internet IUSR to a specific folder.
Then I try and run my php-script. Do I have to restart IIS?=20
Best regards
/Gustav Wiberg=20
-----Original Message-----
From: Styve Couture [mailto:styve.couture@novo.ca]=20
Sent: Thursday, February 22, 2007 3:42 PM
To: Gustav Wiberg; php-windows@lists.php.net
Subject: RE: [PHP-WIN] Rights to delete?
I had the same problem when I have tried to migrate from Apache to IIS.
What I know is that with IIS and ASP.NET you have to go under the security =
option for your folder and give the right "modify" for the user NETWORK_SER=
VICE (under 2003 Server). This allows ASP.NET to delete files (like old log=
s for example).
So I thing you may have to find the right user (the one PHP use for executi=
ng its script) and gave it the right rights.
Please keep me informed if you find something.
Regards
Styve
-----Message d'origine-----
De=A0: Gustav Wiberg [mailto:gustav@hmn.se]=20
Envoyé : 22 f=E9vrier 2007 09:04
À : 'php windows' (php-windows@lists.php.net)
Objet=A0: [PHP-WIN] Rights to delete?
Hello!
=20
This is not strictly a PHP-question, but I hope anyone can help me... :-)
What has to be done on the webserver (IIS6.0) and the server if I want to d=
elete a file from a PHP-script?
I have tested with settings right IUSER.. On the server. But I still can't =
delete the files in a specific folder (like images/products)
Best regards
/Gustav Wiberg
--=20
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
RE: Rights to delete?
am 22.02.2007 16:33:03 von Styve Couture
I really don't know. I didn't succeeded when trying the last time. And =
since I have been move to another project, I haven't finished my =
migration from Apache to IIS on my previous project so...=20
And it was my last thing to solve if I remember right. :( It is why I'm =
interested in the solution. :)
Sorry that I can't help much more.
Regards
Styve
-----Message d'origine-----
De=A0: Gustav Wiberg [mailto:gustav@hmn.se]=20
Envoyé : 22 f=E9vrier 2007 10:18
À : Styve Couture; 'php-windows@lists.php.net'
Objet=A0: RE: [PHP-WIN] Rights to delete?
Hi there!
I know which user it is. The problem is that nothing happens with the =
permissons... I assign the Internet IUSR to a specific folder.
Then I try and run my php-script. Do I have to restart IIS?=20
Best regards
/Gustav Wiberg=20
-----Original Message-----
From: Styve Couture [mailto:styve.couture@novo.ca]=20
Sent: Thursday, February 22, 2007 3:42 PM
To: Gustav Wiberg; php-windows@lists.php.net
Subject: RE: [PHP-WIN] Rights to delete?
I had the same problem when I have tried to migrate from Apache to IIS.
What I know is that with IIS and ASP.NET you have to go under the =
security option for your folder and give the right "modify" for the user =
NETWORK_SERVICE (under 2003 Server). This allows ASP.NET to delete files =
(like old logs for example).
So I thing you may have to find the right user (the one PHP use for =
executing its script) and gave it the right rights.
Please keep me informed if you find something.
Regards
Styve
-----Message d'origine-----
De=A0: Gustav Wiberg [mailto:gustav@hmn.se]=20
Envoyé : 22 f=E9vrier 2007 09:04
À : 'php windows' (php-windows@lists.php.net)
Objet=A0: [PHP-WIN] Rights to delete?
Hello!
=20
This is not strictly a PHP-question, but I hope anyone can help me... =
:-)
What has to be done on the webserver (IIS6.0) and the server if I want =
to delete a file from a PHP-script?
I have tested with settings right IUSER.. On the server. But I still =
can't delete the files in a specific folder (like images/products)
Best regards
/Gustav Wiberg
--=20
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--=20
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Re: Rights to delete?
am 22.02.2007 18:06:33 von Dijital
I would restart IIS. You know the old Windows adage.. when in doubt,
restart.
Styve Couture wrote:
> I really don't know. I didn't succeeded when trying the last time. And since I have been move to another project, I haven't finished my migration from Apache to IIS on my previous project so...
>
> And it was my last thing to solve if I remember right. :( It is why I'm interested in the solution. :)
>
> Sorry that I can't help much more.
>
> Regards
>
> Styve
>
> -----Message d'origine-----
> De : Gustav Wiberg [mailto:gustav@hmn.se]
> Envoyé : 22 février 2007 10:18
> À : Styve Couture; 'php-windows@lists.php.net'
> Objet : RE: [PHP-WIN] Rights to delete?
>
> Hi there!
>
> I know which user it is. The problem is that nothing happens with the permissons... I assign the Internet IUSR to a specific folder.
> Then I try and run my php-script. Do I have to restart IIS?
>
> Best regards
> /Gustav Wiberg
>
> -----Original Message-----
> From: Styve Couture [mailto:styve.couture@novo.ca]
> Sent: Thursday, February 22, 2007 3:42 PM
> To: Gustav Wiberg; php-windows@lists.php.net
> Subject: RE: [PHP-WIN] Rights to delete?
>
> I had the same problem when I have tried to migrate from Apache to IIS.
>
> What I know is that with IIS and ASP.NET you have to go under the security option for your folder and give the right "modify" for the user NETWORK_SERVICE (under 2003 Server). This allows ASP.NET to delete files (like old logs for example).
>
> So I thing you may have to find the right user (the one PHP use for executing its script) and gave it the right rights.
>
> Please keep me informed if you find something.
>
> Regards
>
> Styve
>
> -----Message d'origine-----
> De : Gustav Wiberg [mailto:gustav@hmn.se]
> Envoyé : 22 février 2007 09:04
> À : 'php windows' (php-windows@lists.php.net)
> Objet : [PHP-WIN] Rights to delete?
>
> Hello!
>
> This is not strictly a PHP-question, but I hope anyone can help me... :-)
>
> What has to be done on the webserver (IIS6.0) and the server if I want to delete a file from a PHP-script?
> I have tested with settings right IUSER.. On the server. But I still can't delete the files in a specific folder (like images/products)
>
> Best regards
> /Gustav Wiberg
>
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Re: Rights to delete?
am 23.02.2007 00:56:23 von Austin Gruenweller
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Greetings,
IIS is a cruel mistress. Many of the things that I've thought IIS would
pick up when it recycles the process it didn't. This is particularly
troublesome on a production server.. so you have to make sure everything
is right the first time around, but I digress.
You would THINK that Windows would pick up user permission changes on
the fly -- infact as I think more about it I'm positive that it does.
The best way I've found to test if permission changes take effect is to
just grant global permissions to a folder and see if any errors come back.
In your particular case, are you sure that the file isn't being locked
open by IIS or the PHP process? That would certainly cause PHP to fail
when it attempts to delete the file, and I know that Windows is
notorious for needlessly locking files. Make sure that you are properly
closing your files and that no threads have it open when you try to
delete it. I reckon that would probably take care of your issue.
Good luck!
- -Austin
Styve Couture wrote:
> I really don't know. I didn't succeeded when trying the last time. And since I have been move to another project, I haven't finished my migration from Apache to IIS on my previous project so...
>
> And it was my last thing to solve if I remember right. :( It is why I'm interested in the solution. :)
>
> Sorry that I can't help much more.
>
> Regards
>
> Styve
>
> -----Message d'origine-----
> De : Gustav Wiberg [mailto:gustav@hmn.se]
> Envoyé : 22 février 2007 10:18
> À : Styve Couture; 'php-windows@lists.php.net'
> Objet : RE: [PHP-WIN] Rights to delete?
>
> Hi there!
>
> I know which user it is. The problem is that nothing happens with the permissons... I assign the Internet IUSR to a specific folder.
> Then I try and run my php-script. Do I have to restart IIS?
>
> Best regards
> /Gustav Wiberg
>
> -----Original Message-----
> From: Styve Couture [mailto:styve.couture@novo.ca]
> Sent: Thursday, February 22, 2007 3:42 PM
> To: Gustav Wiberg; php-windows@lists.php.net
> Subject: RE: [PHP-WIN] Rights to delete?
>
> I had the same problem when I have tried to migrate from Apache to IIS.
>
> What I know is that with IIS and ASP.NET you have to go under the security option for your folder and give the right "modify" for the user NETWORK_SERVICE (under 2003 Server). This allows ASP.NET to delete files (like old logs for example).
>
> So I thing you may have to find the right user (the one PHP use for executing its script) and gave it the right rights.
>
> Please keep me informed if you find something.
>
> Regards
>
> Styve
>
> -----Message d'origine-----
> De : Gustav Wiberg [mailto:gustav@hmn.se]
> Envoyé : 22 février 2007 09:04
> À : 'php windows' (php-windows@lists.php.net)
> Objet : [PHP-WIN] Rights to delete?
>
> Hello!
>
> This is not strictly a PHP-question, but I hope anyone can help me... :-)
>
> What has to be done on the webserver (IIS6.0) and the server if I want to delete a file from a PHP-script?
> I have tested with settings right IUSER.. On the server. But I still can't delete the files in a specific folder (like images/products)
>
> Best regards
> /Gustav Wiberg
>
- --
_ _ _
|_|@|_| Good order is the foundation of all things.
|_|_|@| http://php.uat.edu/~ausgruen/
|@|@|@| Public key available on pgp.mit.edu
¯ ¯ ¯
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (MingW32)
iD8DBQFF3i2nWqsILSLH8toRAsjNAJ4zU9xygP7WCCb8pJ0p546Z2ykHIgCf XSfz
Y/fIaIbZQ2SO4GStORiIjLw=
=ohnX
-----END PGP SIGNATURE-----
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
RE: Rights to delete?
am 23.02.2007 08:12:00 von Gustav Wiberg
Hi there!
Interesting... But I really don't understand everything that you say... (ca=
use I'm not a highly qualified expert in the "server-area"...
"The best way I've found to test if permission changes take effect is to
just grant global permissions to a folder and see if any errors come back."
What do you mean by that? How do I do that?=20
"In your particular case, are you sure that the file isn't being locked
open by IIS or the PHP process?"
No... No idea. How can I check that?
Anyway. Thanx for your thoughts! I'm looking further into it...
Best regards
/Gustav Wiberg
=20
-----Original Message-----
From: Austin Gruenweller >-]O [mailto:ausgruen@uat.edu]=20
Sent: Friday, February 23, 2007 12:56 AM
To: Styve Couture
Cc: Gustav Wiberg; php-windows@lists.php.net
Subject: Re: [PHP-WIN] Rights to delete?
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Greetings,
IIS is a cruel mistress. Many of the things that I've thought IIS would
pick up when it recycles the process it didn't. This is particularly
troublesome on a production server.. so you have to make sure everything
is right the first time around, but I digress.
You would THINK that Windows would pick up user permission changes on
the fly -- infact as I think more about it I'm positive that it does.
The best way I've found to test if permission changes take effect is to
just grant global permissions to a folder and see if any errors come back.
In your particular case, are you sure that the file isn't being locked
open by IIS or the PHP process? That would certainly cause PHP to fail
when it attempts to delete the file, and I know that Windows is
notorious for needlessly locking files. Make sure that you are properly
closing your files and that no threads have it open when you try to
delete it. I reckon that would probably take care of your issue.
Good luck!
- -Austin
Styve Couture wrote:
> I really don't know. I didn't succeeded when trying the last time. And si=
nce I have been move to another project, I haven't finished my migration fr=
om Apache to IIS on my previous project so...=20
>=20
> And it was my last thing to solve if I remember right. :( It is why I'm i=
nterested in the solution. :)
>=20
> Sorry that I can't help much more.
>=20
> Regards
>=20
> Styve
>=20
> -----Message d'origine-----
> De : Gustav Wiberg [mailto:gustav@hmn.se]=20
> Envoy=E9 : 22 f=E9vrier 2007 10:18
> =C0 : Styve Couture; 'php-windows@lists.php.net'
> Objet : RE: [PHP-WIN] Rights to delete?
>=20
> Hi there!
>=20
> I know which user it is. The problem is that nothing happens with the per=
missons... I assign the Internet IUSR to a specific folder.
> Then I try and run my php-script. Do I have to restart IIS?=20
>=20
> Best regards
> /Gustav Wiberg=20
>=20
> -----Original Message-----
> From: Styve Couture [mailto:styve.couture@novo.ca]=20
> Sent: Thursday, February 22, 2007 3:42 PM
> To: Gustav Wiberg; php-windows@lists.php.net
> Subject: RE: [PHP-WIN] Rights to delete?
>=20
> I had the same problem when I have tried to migrate from Apache to IIS.
>=20
> What I know is that with IIS and ASP.NET you have to go under the securit=
y option for your folder and give the right "modify" for the user NETWORK_S=
ERVICE (under 2003 Server). This allows ASP.NET to delete files (like old l=
ogs for example).
>=20
> So I thing you may have to find the right user (the one PHP use for execu=
ting its script) and gave it the right rights.
>=20
> Please keep me informed if you find something.
>=20
> Regards
>=20
> Styve
>=20
> -----Message d'origine-----
> De : Gustav Wiberg [mailto:gustav@hmn.se]=20
> Envoy=E9 : 22 f=E9vrier 2007 09:04
> =C0 : 'php windows' (php-windows@lists.php.net)
> Objet : [PHP-WIN] Rights to delete?
>=20
> Hello!
> =20
> This is not strictly a PHP-question, but I hope anyone can help me... :-)
>=20
> What has to be done on the webserver (IIS6.0) and the server if I want to=
delete a file from a PHP-script?
> I have tested with settings right IUSER.. On the server. But I still can'=
t delete the files in a specific folder (like images/products)
>=20
> Best regards
> /Gustav Wiberg
>=20
- --
_ _ _
|_|@|_| Good order is the foundation of all things.
|_|_|@| http://php.uat.edu/~ausgruen/
|@|@|@| Public key available on pgp.mit.edu
=AF =AF =AF
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (MingW32)
iD8DBQFF3i2nWqsILSLH8toRAsjNAJ4zU9xygP7WCCb8pJ0p546Z2ykHIgCf XSfz
Y/fIaIbZQ2SO4GStORiIjLw=3D
=3DohnX
-----END PGP SIGNATURE-----
--=20
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
RE: Rights to delete?
am 23.02.2007 08:13:00 von Gustav Wiberg
Hi there!
How long would it take to restart IIS? (I have never done that on a product=
ion-server). IS there any risks associated with it? (dumb question? ;-))
We have about 40-50 sites on the IIS.
Best regards
/Gustav Wiberg=20
-----Original Message-----
From: Armando [mailto:dijital@shaw.ca]=20
Sent: Thursday, February 22, 2007 6:07 PM
Cc: php-windows@lists.php.net
Subject: Re: [PHP-WIN] Rights to delete?
I would restart IIS. You know the old Windows adage.. when in doubt,=20
restart.
Styve Couture wrote:
> I really don't know. I didn't succeeded when trying the last time. And si=
nce I have been move to another project, I haven't finished my migration fr=
om Apache to IIS on my previous project so...=20
>=20
> And it was my last thing to solve if I remember right. :( It is why I'm i=
nterested in the solution. :)
>=20
> Sorry that I can't help much more.
>=20
> Regards
>=20
> Styve
>=20
> -----Message d'origine-----
> De : Gustav Wiberg [mailto:gustav@hmn.se]=20
> Envoy=E9 : 22 f=E9vrier 2007 10:18
> =C0 : Styve Couture; 'php-windows@lists.php.net'
> Objet : RE: [PHP-WIN] Rights to delete?
>=20
> Hi there!
>=20
> I know which user it is. The problem is that nothing happens with the per=
missons... I assign the Internet IUSR to a specific folder.
> Then I try and run my php-script. Do I have to restart IIS?=20
>=20
> Best regards
> /Gustav Wiberg=20
>=20
> -----Original Message-----
> From: Styve Couture [mailto:styve.couture@novo.ca]=20
> Sent: Thursday, February 22, 2007 3:42 PM
> To: Gustav Wiberg; php-windows@lists.php.net
> Subject: RE: [PHP-WIN] Rights to delete?
>=20
> I had the same problem when I have tried to migrate from Apache to IIS.
>=20
> What I know is that with IIS and ASP.NET you have to go under the securit=
y option for your folder and give the right "modify" for the user NETWORK_S=
ERVICE (under 2003 Server). This allows ASP.NET to delete files (like old l=
ogs for example).
>=20
> So I thing you may have to find the right user (the one PHP use for execu=
ting its script) and gave it the right rights.
>=20
> Please keep me informed if you find something.
>=20
> Regards
>=20
> Styve
>=20
> -----Message d'origine-----
> De : Gustav Wiberg [mailto:gustav@hmn.se]=20
> Envoy=E9 : 22 f=E9vrier 2007 09:04
> =C0 : 'php windows' (php-windows@lists.php.net)
> Objet : [PHP-WIN] Rights to delete?
>=20
> Hello!
> =20
> This is not strictly a PHP-question, but I hope anyone can help me... :-)
>=20
> What has to be done on the webserver (IIS6.0) and the server if I want to=
delete a file from a PHP-script?
> I have tested with settings right IUSER.. On the server. But I still can'=
t delete the files in a specific folder (like images/products)
>=20
> Best regards
> /Gustav Wiberg
>=20
--=20
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
RE: Rights to delete?
am 27.02.2007 07:53:00 von Gustav Wiberg
Hi there (Styve)!
You wanted to know what could have been...
It wasn't really that hard that I thought. The first main problem was that =
I typed wrong in my code... Then it worked a while...
I assigned permission for the files/folders I wanted to delete through PHP =
with a IUSR_ user - so this user could modify/write files.. =
I didn't work at first on the Win2003 Server, but after a while.. (about ha=
lf an hour), THEN it worked... So it could have been that I didn't enoguh p=
atience... I didn't have to do anything on the webbserver...
Best regards
/Gustav Wiberg
-----Original Message-----
From: Styve Couture [mailto:styve.couture@novo.ca]=20
Sent: Thursday, February 22, 2007 4:33 PM
To: Gustav Wiberg; php-windows@lists.php.net
Subject: RE: [PHP-WIN] Rights to delete?
I really don't know. I didn't succeeded when trying the last time. And sinc=
e I have been move to another project, I haven't finished my migration from=
Apache to IIS on my previous project so...=20
And it was my last thing to solve if I remember right. :( It is why I'm int=
erested in the solution. :)
Sorry that I can't help much more.
Regards
Styve
-----Message d'origine-----
De=A0: Gustav Wiberg [mailto:gustav@hmn.se]=20
Envoyé : 22 f=E9vrier 2007 10:18
À : Styve Couture; 'php-windows@lists.php.net'
Objet=A0: RE: [PHP-WIN] Rights to delete?
Hi there!
I know which user it is. The problem is that nothing happens with the permi=
ssons... I assign the Internet IUSR to a specific folder.
Then I try and run my php-script. Do I have to restart IIS?=20
Best regards
/Gustav Wiberg=20
-----Original Message-----
From: Styve Couture [mailto:styve.couture@novo.ca]=20
Sent: Thursday, February 22, 2007 3:42 PM
To: Gustav Wiberg; php-windows@lists.php.net
Subject: RE: [PHP-WIN] Rights to delete?
I had the same problem when I have tried to migrate from Apache to IIS.
What I know is that with IIS and ASP.NET you have to go under the security =
option for your folder and give the right "modify" for the user NETWORK_SER=
VICE (under 2003 Server). This allows ASP.NET to delete files (like old log=
s for example).
So I thing you may have to find the right user (the one PHP use for executi=
ng its script) and gave it the right rights.
Please keep me informed if you find something.
Regards
Styve
-----Message d'origine-----
De=A0: Gustav Wiberg [mailto:gustav@hmn.se]=20
Envoyé : 22 f=E9vrier 2007 09:04
À : 'php windows' (php-windows@lists.php.net)
Objet=A0: [PHP-WIN] Rights to delete?
Hello!
=20
This is not strictly a PHP-question, but I hope anyone can help me... :-)
What has to be done on the webserver (IIS6.0) and the server if I want to d=
elete a file from a PHP-script?
I have tested with settings right IUSER.. On the server. But I still can't =
delete the files in a specific folder (like images/products)
Best regards
/Gustav Wiberg
--=20
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--=20
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php