wamp - Emulate CHMOD in Windows PHP development -


i'm developing file management wares on windows dev box. dreading day when start testing in remote lamp environment; bouncing head off thousand potential chmod issues. ‡

i know php's read/write file/dir permission checks ignored on windows. however, i'd emulate it. has thought of doing before? have in mind cooking following:

  • route permission-related functions via proxy functions pass through default functions on *nix -- emulate chmod permission checks on windows.
  • keep record of "virtual" permissions set these functions, against permission-related file , directory transactions cleared.
  • all these virtual permissions have no impact on actual windows filesystem. setup exist merely emulate happens when we're on *nix.

does make sense? or wasting time idea? setup make possible "shuffle" file permissions random, prepping litmus buffet of test cases.

(n.b. i'm not looking installing *nix vm on dev laptop @ time. it'd fine way filesystem related testing locally. not tackling case.)

‡ just it's clear. not alien file permissions. issue on developing software on platform doesn't give expected feedback when code executed.


Comments

Popular posts from this blog

php - mysql multiple keyword search in any order -

routing - AngularJS State management ->load multiple states in one page -

unity3d - Problems porting a GLSL shadertoy shader to unity -