Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chown: handle broken symlinks #12

Open
davidfischer-ch opened this issue Dec 18, 2013 · 0 comments
Open

chown: handle broken symlinks #12

davidfischer-ch opened this issue Dec 18, 2013 · 0 comments
Labels

Comments

@davidfischer-ch
Copy link
Owner

ebu21516:2013-12-18 15:26:34 INFO juju juju-log.go:66 oscied-orchestra/0: [HOOK] Exiting OrchestraHooks hook config-changed
ebu21516:2013-12-18 15:26:34 INFO juju.worker.uniter context.go:255 HOOK Traceback (most recent call last):
ebu21516:2013-12-18 15:26:34 INFO juju.worker.uniter context.go:255 HOOK File "/usr/lib/python2.7/runpy.py", line 162, in run_module_as_main
ebu21516:2013-12-18 15:26:34 INFO juju.worker.uniter context.go:255 HOOK "main", fname, loader, pkg_name)
ebu21516:2013-12-18 15:26:34 INFO juju.worker.uniter context.go:255 HOOK File "/usr/lib/python2.7/runpy.py", line 72, in run_code
ebu21516:2013-12-18 15:26:34 INFO juju.worker.uniter context.go:255 HOOK exec code in run_globals
ebu21516:2013-12-18 15:26:34 INFO juju.worker.uniter context.go:255 HOOK File "/var/lib/juju/agents/unit-oscied-orchestra-0/charm/library/oscied_lib/OrchestraHooks.py", line 306, in
ebu21516:2013-12-18 15:26:34 INFO juju.worker.uniter context.go:255 HOOK DEFAULT_OS_ENV).trigger()
ebu21516:2013-12-18 15:26:34 INFO juju.worker.uniter context.go:255 HOOK File "/usr/local/lib/python2.7/dist-packages/pytoolbox-6.0.4_beta-py2.7.egg/pytoolbox/juju.py", line 540, in trigger
ebu21516:2013-12-18 15:26:34 INFO juju.worker.uniter context.go:255 HOOK getattr(self, u'hook
{0}'.format(hook_name.replace(u'-', u'
')))()
ebu21516:2013-12-18 15:26:34 INFO juju.worker.uniter context.go:255 HOOK File "/var/lib/juju/agents/unit-oscied-orchestra-0/charm/library/oscied_lib/OrchestraHooks.py", line 210, in hook_config_changed
ebu21516:2013-12-18 15:26:34 INFO juju.worker.uniter context.go:255 HOOK chown(local_cfg.sites_directory, DAEMON_USER, DAEMON_GROUP, recursive=True)
ebu21516:2013-12-18 15:26:34 INFO juju.worker.uniter context.go:255 HOOK File "/usr/local/lib/python2.7/dist-packages/pytoolbox-6.0.4_beta-py2.7.egg/pytoolbox/filesystem.py", line 263, in chown
ebu21516:2013-12-18 15:26:34 INFO juju.worker.uniter context.go:255 HOOK os.chown(os.path.join(root, filename), uid, gid)
ebu21516:2013-12-18 15:26:34 INFO juju.worker.uniter context.go:255 HOOK OSError: [Errno 2] No such file or directory: '/var/www/webui/medias'

@davidfischer-ch davidfischer-ch changed the title chown : handle broken symlinks chown: handle broken symlinks Aug 23, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant