Ticket #37 (closed defect: fixed)

Opened 17 years ago

Last modified 16 years ago

Making directories

Reported by: [email protected] Owned by: desai
Priority: minor Milestone:
Component: bcfg2-client Version:
Keywords: Cc:


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.


Change History

comment:1 Changed 17 years ago by desai

  • Status changed from new to closed
  • Resolution set to fixed

This should be fixed as of revision [f8a6863ba54f9e97a47fba1526fbc6508059ba18] (SVN r1813). It will be included in the next pre

WARNING! You need to establish a session before you can create or edit tickets. Otherwise the ticket will get treated as spam.


Add a comment

Modify Ticket

Change Properties
<Author field>
as closed
The resolution will be deleted. Next status will be 'reopened'

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.