Skip to content
⌘ NSIS Forum Archive

How do I create writable directories?

7 posts

jdrudolp#

How do I create writable directories?

Ever time I create a new directory it makes it only read+exec. I need to create a directory that is only writable, but I can't find any reference on how to do this.

Thanks,
jdrudolp
zimsms#
We need more information. Do you have permissions to create a writtable folder in that location? What OS, what version of NSIS. A code sample would be handy.
jdrudolp#
Okay here is some more information - I am trying to install some software with an NSIS script logged in as one user and then run it logged in as another user on a WinXP. I have debugged the problem down to the fact that when my software starts to write to a directory upon invokation, it dies since the directory is only set up read/exec. User 2 doesn't have permissions to write to it. I have been searching around and found some stuff related to this problem on thread http://forums.winamp.com/showthread....eatedirectory. I'll give that a shot and see if it works.
jdrudolp#
Hey cool, it worked! That link I posted (which I think it the one Joost is refering to) solved the problem.

Thanks!
jdrudolp
KrYpT#
Windows NT

Are there any features of the AccessControl plugin that can be used under Windows NT4? I know it says that it will not work, but I am wondering if that's just the registry functions that don't work, specifying SID's that doesn't work, or if it is everything in general.