搜尋make sure you can write to current directory

搜尋make sure you can write to current directory