﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
100	filename -- chmod code for filename	Fred T. Hamster	bugdock	" add chmod to filename:

   1. we would have a use for file access modification.
   2. this bit is from value tagger.
   3. it would be good to have the read/write thing done as an enum that's platform independent.





#ifdef __UNIX__
  chmod_value = S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH;
#elif defined(__WIN32__)
  chmod_value = _S_IREAD | _S_IWRITE;
#else
  //unknown. let's try unix...
  chmod_value = S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH;
#endif

int chmod_result = chmod(path.s(), chmod_value);
if (chmod_result) {
  log(istring(""there was a problem changing permissions on "") + path
      + ""; writing the new version might fail."");
}

"	new-feature	assigned	minor		feistymeow-nucleus				
