1

Topic: How in Windows to create a directory?

I mean, that at record attempt, was shown UA dialogue, as for Program Files. Stupid copying GetNamedSecurityInfo/SetNamedSecurityInfo from Program Files did not help. There are other methods?

2

Re: How in Windows to create a directory?

Hello, Diletant, you wrote: D> I mean, that at record attempt, was shown UA dialogue, as for Program Files. Stupid copying GetNamedSecurityInfo/SetNamedSecurityInfo from Program Files did not help. There are other methods? Set for a folder, for example, the full access for managers and reading-performance for group "All". On SDDL it will be somehow so: O:BAG:BAD:P (A;; GA;;; BA) (A;; GRGX;;; WD)////[O] wner - Builtin Administrators (BA)//[G] roup - Buildin Administrators (BA)//[D] ACL [P] rotected://Access [A] llowed - [G] eneric [A] ll for BA;//Access [A] llowed - [G] eneric [R] ead + [G] eneric E [x] ecute for "World" (Everyone).//

3

Re: How in Windows to create a directory?

Hello, okman, you wrote: O> Hello, Diletant, you wrote: D>> I mean, that at record attempt, was shown UA dialogue, as for Program Files. Stupid copying GetNamedSecurityInfo/SetNamedSecurityInfo from Program Files did not help. There are other methods? O> set for a folder, for example, the full access for managers and reading-performance for group "All". O> On SDDL it will be somehow so: O> O> O:BAG:BAD:P (A;; GA;;; BA) (A;; GRGX;;; WD) O>//O>//[O] wner - Builtin Administrators (BA) O>//[G] roup - Buildin Administrators (BA) O>//[D] ACL [P] rotected: O>//Access [A] llowed - [G] eneric [A] ll for BA; O>//Access [A] llowed - [G] eneric [R] ead + [G] eneric E [x] ecute for "World" (Everyone). O>//O> the Idea good, but, alas, does not transit. Even at copying SecInfo access Admins and Users such "as it is necessary". But for the folders which are distinct from Program Files, in Win7 +   "Authenticated Users" with protected  access.  result, any can read and write.

4

Re: How in Windows to create a directory?

Hello, Diletant, you wrote: D> the Idea good, but, alas, does not transit. Where the code? D> even at copying SecInfo access Admins and Users such "as it is necessary". What is SecInfo? D> But for the folders which are distinct from Program Files, in Win7 +   "Authenticated Users" with protected  access.  result, any can read and write. All works for me as it is necessary. Win10. Show the code.