* sec_helper.cc (set_cygwin_privileges): Request SE_BACKUP_NAME

privileges.
This commit is contained in:
Corinna Vinschen 2006-03-01 23:14:25 +00:00
parent 24f0349c1e
commit 352059d4b1
2 changed files with 6 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2006-03-01 Corinna Vinschen <corinna@vinschen.de>
* sec_helper.cc (set_cygwin_privileges): Request SE_BACKUP_NAME
privileges.
2006-03-01 Corinna Vinschen <corinna@vinschen.de>
* fhandler_proc.cc (fhandler_proc::fstat): Always return fixed link

View File

@ -439,6 +439,7 @@ void
set_cygwin_privileges (HANDLE token)
{
set_privilege (token, SE_RESTORE_PRIV, true);
set_privilege (token, SE_BACKUP_PRIV, true);
set_privilege (token, SE_CHANGE_NOTIFY_PRIV, !allow_traverse);
}