* sec_helper.cc (set_cygwin_privileges): Request SE_BACKUP_NAME
privileges.
This commit is contained in:
parent
24f0349c1e
commit
352059d4b1
|
@ -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
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue