Гость
Целевая тема:
Создать новую тему:
Автор:
Форумы / Windows [игнор отключен] [закрыт для гостей] / CACLS делает не все / 3 сообщений из 3, страница 1 из 1
29.12.2005, 10:10
    #33463536
pruha
Участник
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
CACLS делает не все
Возникла потребность пакетником регулировать права на папку.
С помощью CACLS нормально устанавливается N,R,W,F полномочия .
Но если посмотреть в permissions вкладки security на папке, там ведь есть
List Folders и другие , как можно их отрегулировать?
Может еще есть какая команда?
...
Рейтинг: 0 / 0
29.12.2005, 10:21
    #33463566
rrrrrrrrrr
Участник
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
CACLS делает не все
Resource Kit 2000C:\WINDOWS\system32>xcacls /?
Displays or modifies access control lists (ACLs) of files

XCACLS filename [/T] [/E|/X] [/C] [/G user:perm;spec] [/R user [...]]
[/P user:perm;spec [...]] [/D user [...]] [/Y]
filename Displays ACLs.
/T Changes ACLs of specified files in
the current directory and all subdirectories.
/E Edit ACL instead of replacing it.
/X Same as /E except it only affects the ACEs that the
specified users already own.
/C Continue on access denied errors.
/G user:perm;spec Grant specified user access rights.
Perm can be: R Read
C Change (write)
F Full control
P Change Permissions (Special access)
O Take Ownership (Special access)
X EXecute (Special access)
E REad (Special access)
W Write (Special access)
D Delete (Special access)
Spec can be the same as perm and will only be
Press ENTER to continue...

applied to a directory. In this case, Perm
will be used for file inheritence in this
directory. If not omitted: Spec=Perm. Special values
for Spec only:
T Not Specified (for file inherit,
only for dirs valid)
At least one access right has to follow!
Entries between ';' and T will be ignored!

/R user Revoke specified user's access rights.
/P user:perm;spec Replace specified user's access rights.
for access right specification see /G option
/D user Deny specified user access.
/Y Replace user's rights without verify

Wildcards can be used to specify more that one file in a command.
You can specify more than one user in a command.
You can combine access rights.
...
Рейтинг: 0 / 0
29.12.2005, 13:06
    #33464152
pruha
Участник
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
CACLS делает не все
Все получилось , вплоть до полномочий на файл .
...
Рейтинг: 0 / 0
Форумы / Windows [игнор отключен] [закрыт для гостей] / CACLS делает не все / 3 сообщений из 3, страница 1 из 1
Найденые пользователи ...
Разблокировать пользователей ...
Читали форум (0):
Пользователи онлайн (0):
x
x
Закрыть


Просмотр
0 / 0
Close
Debug Console [Select Text]