309
309
if not os.path.exists(self.m.shares_dir_link):
310
310
self.log.debug('creating Shares symlink: %r -> %r',
311
311
self.m.shares_dir_link, self.m.shares_dir)
312
316
os.symlink(self.m.shares_dir, self.m.shares_dir_link)
313
317
# make the shares_dir read only
314
318
os.chmod(self.m.shares_dir, 0555)