Over the break, we've been working on a media manager, which lets us create, delete, move and copy files on our OS X server, using a web interface. We've hit a snag, can't find a solution and wondered if anyone has been able to resolve it. Under OS X (and, from reading, all UNIX-based file systems) new folders are created with the group rights set to read only. Is there a way to change this using 4D (or A4D), or, even better, alter the default filesystem behaviour?

I assume you are running at root since it's OS X. From 4D you need to run a shell script that uses the umask command to set the default file/folder permissions you want for the 4D process. See the man pages for umask for details, or there are lots of online descriptions of the command.


Regards,

   Aparajita
   Victory-Heart Productions
   [EMAIL PROTECTED]
   www.aparajitaworld.com

   "If you dare to fail, you are bound to succeed."
   - Sri Chinmoy   |   www.srichinmoylibrary.com




Reply via email to