πŸš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #6588

Re: Add WRITE Access to a Directory in an NTFS volume to Everyone

#6588
From: Colin B Maharaj
Date: Sun, 24 Apr 2005 11:37
25 lines
1930 bytes
This is great thanks for the pointer!
Also I was wondering if the path is already created, how can I "open" 
the path and populate and change the SECURITY_ATTRIBUTES structure.
Thanks again for all your help.

Evariste HORNECKER wrote:
> Take a look at MSDN:
> 
> Platform SDK: Best Practices for the Security APIs
> Creating a DACL
> http://msdn.microsoft.com/library/default.asp?url=/library/en-us/secbp/security/creating_a_dacl.asp
>  Explains how to create a Security Attribute and use it ti CreateDirectory 
> function.
> 
> Hope it helps
> 
> "Colin B Maharaj" <noreply@myhost.com> a οΏ½crit dans le message de news: 
> 42659f68$1@newsgroups.borland.com...
> 
>>Hi all, any good pointers / good snippets on how to add WRITE access to a 
>>subdirectory on an NTFS partition, so non power user applications can 
>>write to this path. 
> 
> 
> 
Technical Details
Message-ID: <426b84dd$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!tsicnews.teliasonera.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <42659f68$1@newsgroups.borland.com> <42661485$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,cc45c5c7baa05a70
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII
Date: Sun, 24 Apr 2005 07:37:03 -0400
From: Colin B Maharaj <noreply@myhost.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8a4) Gecko/20040927
X-Accept-Language: en-us, en
MIME-Version: 1.0
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: Re: Add WRITE Access to a Directory in an NTFS volume to Everyone
References: <42659f68$1@newsgroups.borland.com> <42661485$1@newsgroups.borland.com>
In-Reply-To: <42661485$1@newsgroups.borland.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 8bit
NNTP-Posting-Host: 200.108.25.133
Message-ID: <426b84dd$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1114342621 200.108.25.133 (24 Apr 2005 04:37:01 -0700)
Lines: 25
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!tsicnews.teliasonera.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail