c++ - How to change already created folder/directory security permission using Windows API C++
问题描述
I have to change directory permission of already created directory. If the directory does not exists,I am able to create new directory using CreateDirectoryEx with given security access attributes,however when the directory already exists ,I have to change security access attributes of directory For ex:Admin -Full access User=read access
First check if directory exists,if directory exists change the security attributes
解决方案
推荐阅读
- c++ - “'CLOCK_PER_SEC' 未在此范围内声明”错误,即使包含
- android - Android Studio 3.2 Preview 中的导航预览不可用
- arrays - 插入嵌套数组
- javascript - 试图在前端显示信息
- aws-lambda - Kinesis:异常:SocketException:不允许操作(选择/轮询失败)
- java - 如何在 Gradle 中获取生命周期库的版本?
- php - 使用 Post 将课程发送到另一个页面
- python - 如何将 pip 版本 10.0.0 降级到 pip 版本 9.0.1?
- amazon-s3 - 如何从 Aws s3 流式传输音频文件 (mp3)?
- perl - PERL:输入日期时间,从输入的部分创建起点和终点并检查是否介于两者之间