Modify ↓
Ticket #37 (closed defect: fixed)
Making directories
Reported by: | [email protected]… | Owned by: | desai |
---|---|---|---|
Priority: | minor | Milestone: | |
Component: | bcfg2-client | Version: | |
Keywords: | Cc: |
Description
It seems that currently bcfg doesn't create directories as I think it would. Currently, if I have the following:
<Directory name='/disks/pvfs-data' owner='root' group='root' perms='0755'/>
and the directory /disks doesn't already exist, bcfg fails to create the directory /disks/pvfs-data. I have to either create /disks manually or change the above to:
<Directory name='/disks' owner='root' group='root' perms='0755'/> <Directory name='/disks/pvfs-data' owner='root' group='root' perms='0755'/>
It would seem better to do something like:
install -d -o <owner> -g <group> -p <perms> <directory>
so that all parent directories are created in one fell swoop.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.
This should be fixed as of revision [f8a6863ba54f9e97a47fba1526fbc6508059ba18] (SVN r1813). It will be included in the next pre