How can I check if I have read or write access to a directory?
Show older comments
When I do
>> fileattrib('\\path\to\my\folder')
"UserRead" and "UserWrite" is "1" even though Windows Explorer shows that I do not have read or write access in the folder properties. Furthermore, when I try to read or write in the directory, it fails. Why does "fileattrib" indicate that I have read and write access even though I do not?
Accepted Answer
More Answers (0)
Categories
Find more on Search Path in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!