AFAIK "globally writable" means having attribute "writable to all; anyone can create/modify a file there.". Anyway, it has nothing to do with sharing directories or serving pages - ruby does not have reliable means to know what is shared.