[Dbix-class] DBIx Schema Loader ownership question.

Rajeev Prasad rp.neuli at yahoo.com
Wed Feb 27 23:55:07 GMT 2013


I am running following code as myself. but the resulting folders are being =
created as www:other I am not able to understand why is that so?

use strict;
use warnings;

use DBIx::Class::Schema::Loader qw/make_schema_at/;

make_schema_at(
=A0=A0=A0 "Mydb::Schema",
=A0=A0=A0 {debug =3D> 0, dump_directory =3D> "../db/", generate_pod =3D> 0,=
},
=A0=A0=A0 ["dbi:mysql:bvoiptsm:localhost:3306", 'userid', 'password'],
);



It generates following structure. (see I running as userid =3D uid(my perso=
nal uid) but the output is owned by www user!). I am not the admin on this =
server and I am not sure how much the admin knows about DBIx, so I want to =
know from this list, exactly what I should be telling to admin to fix.


> ls -ltR
.:
total 1
drwxrwxr-x=A0=A0=A0 3 www=A0=A0=A0=A0=A0 other=A0=A0=A0=A0=A0=A0=A0=A0 512 =
Feb 27 23:23 Mydb

./Mydb:
total 2
drwxrwxr-x=A0=A0=A0 3 www=A0=A0=A0=A0=A0 other=A0=A0=A0=A0=A0=A0=A0=A0 512 =
Feb 27 23:23 Schema
-rw-r-----=A0=A0=A0 1 www=A0=A0=A0=A0=A0 other=A0=A0=A0=A0=A0=A0=A0=A0 461 =
Feb 27 23:23 Schema.pm

./Mydb/Schema:
total 1
drwxrwxr-x=A0=A0=A0 2 www=A0=A0=A0=A0=A0 other=A0=A0=A0=A0=A0=A0=A0=A0 512 =
Feb 27 23:23 Result

./Mydb/Schema/Result:
total 4
-rw-r-----=A0=A0=A0 1 www=A0=A0=A0=A0=A0 other=A0=A0=A0=A0=A0=A0=A0 1227 Fe=
b 27 23:23 Table1.pm
-rw-r-----=A0=A0=A0 1 www=A0=A0=A0=A0=A0 other=A0=A0=A0=A0=A0=A0=A0 1268 Fe=
b 27 23:23 Table2.pm
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.scsys.co.uk/pipermail/dbix-class/attachments/20130227/24e=
6a0ea/attachment.htm


More information about the DBIx-Class mailing list