mirror of
https://github.com/samba-team/samba.git
synced 2025-03-03 12:58:35 +03:00
Get the current directory after becoming root.
Jeremy. (This used to be commit f032c6f710cb0edcf02f25db81c83478b9a8ab1e)
This commit is contained in:
parent
2ba1950c79
commit
47c2477233
@ -729,8 +729,8 @@ static BOOL oplock_break(SMB_DEV_T dev, SMB_INO_T inode, unsigned long file_id,
|
||||
saved_user_conn = current_user.conn;
|
||||
saved_vuid = current_user.vuid;
|
||||
saved_fsp_conn = fsp->conn;
|
||||
vfs_GetWd(saved_fsp_conn,saved_dir);
|
||||
change_to_root_user();
|
||||
vfs_GetWd(saved_fsp_conn,saved_dir);
|
||||
/* Save the chain fnum. */
|
||||
file_chain_save();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user