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

ncm-glitestartup: remove LC::Check usage for directories #58

Open
jouvin opened this issue Nov 3, 2014 · 0 comments
Open

ncm-glitestartup: remove LC::Check usage for directories #58

jouvin opened this issue Nov 3, 2014 · 0 comments

Comments

@jouvin
Copy link
Contributor

jouvin commented Nov 3, 2014

#56 replaced LC::Check calls by CAF for the management of files. But 2 LC::Check calls are still present, to manage a directory. The alternative to LC::Check is not clear:

  • LC::Check::directory can probably be replaced by File::Path::make_path, despite it is not clear from the documentation that it doesn't raise an error if the directory already exists...)
  • LC::Check::status applied to a directory allows to modify owner/group/perm of an existing directory: suggested replacement by File::Path doesn't allow it (File::Path does not modify metadata of an existing directory)

Do we need a CAF::FileStatus module that will implement status for directory? See quattor/CAF#69 for the discussion on this topic...

Suggestions welcome...

@jouvin jouvin added this to the 14.12 milestone Nov 3, 2014
@jrha jrha modified the milestones: 15.4, 14.12 Jan 8, 2015
@jrha jrha modified the milestones: 15.8, 15.6 Jun 2, 2015
@jrha jrha modified the milestones: 16.4, 15.12 Dec 7, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants