Re: rmdir and chmod help for Windows XP Home!

From: Steven Musumeche (stevenmusumeche_at_yahoo.com)
Date: 10/11/03


Date: Sat, 11 Oct 2003 08:54:19 -0500

chmod and rmdir are UNIX commands which have no effect in a Windows
environment.

-Steve

"Daniel" <daniel@dlpage.com> wrote in message
news:3f87dfee$0$8974$79c14f64@nan-newsreader-03.noos.net...
> Hi,
>
> From what I read from the PHP manual, chmod on a Windows platform
> should have no effect, and that seems totally normal (unless someone on
> sourceforge has a windows port of that!).
>
> I create a directory on my Windows box, and set chmod 777 on it (that
> should be full access for everyone if my memory serves me correctly),
> but when I want to rmdir that directory, I get a permission denied
> message (I can delete contents from that directory with no problems, and
> I can create/delete subdirectories either by hand or by script with no
> problems.
>
> I tried creating a subdirectory with the same name and without the chmod
> in a test script and everything went OK...
>
> I then commented out the chmod line in my script, and now, directory
> creation and delete works fine!
>
> So, for PHP on windows (xp home?), chmod 777 makes the file undeletable
> for another PHP script, but not for Windows explorer or the windows/dos
> command line...?!?!
>
> Anyone got an explanation for this? I'm intrigued!
>
> Cheers,
> Daniel
>



Relevant Pages

  • Re: setting file permissions on a web server
    ... > method you use to transfer files the file permissions may or may not ... > you transfer first and chmod on the server. ... Since I'm running Windows, I ... What I would do is write a script ) ...
    (comp.lang.python)
  • rmdir and chmod help for Windows XP Home!
    ... From what I read from the PHP manual, chmod on a Windows platform ... I create a directory on my Windows box, and set chmod 777 on it (that ... I can create/delete subdirectories either by hand or by script with no ... So, for PHP on windows, chmod 777 makes the file undeletable ...
    (comp.lang.php)
  • Re: gfortran on linux
    ... effort--and used the synaptic package manager to give it approximately ... the same capabilities that windows has right out of the box. ... install gfortran via apt-get (or synaptic package manager). ... I'm surprised that I don't see the a+x syntax in the chmod options: ...
    (comp.lang.fortran)
  • Re: gfortran on linux
    ... effort--and used the synaptic package manager to give it approximately ... the same capabilities that windows has right out of the box. ... install gfortran via apt-get (or synaptic package manager). ...  I'm surprised that I don't see the a+x syntax in the chmod options: ...
    (comp.lang.fortran)
  • Re: [PHP] File permissions on Windows, IIS
    ... > chmod 777 on Unix systems. ... With Windows, you probably right-click the file and go to properties, then ... Chris Shiflett - http://shiflett.org/ ... PHP Security Handbook ...
    (php.general)