fix private bucket fileop bug

#4084