Hi,

An easy way to know if the user have write access to a folder can be done this way:

Happy coding!  🙂