3 navsection: installguide
4 title: Create standard objects
8 h1. Create standard objects
12 The convention is to add every active user to this group. We give it a distinctive UUID that looks like an IP broadcast address.
15 prefix=`arv user current | cut -d- -f1`
16 read -rd $'\000' newgroup <<EOF; arv group create --group "$newgroup"
18 "uuid":"$prefix-j7d0g-fffffffffffffff",
24 h3. "arvados" repository
26 This will be readable by the "All users" group, and therefore by every active user. This makes it possible for users to run the bundled Crunch scripts by specifying a commit like "arvados:HEAD", rather than having to pull the Arvados git tree into their own repositories.
29 prefix=`arv user current | cut -d- -f1`
30 all_users_group_uuid="$prefix-j7d0g-fffffffffffffff"
31 repo_uuid=`arv repository create --repository '{"name":"arvados"}'`
32 echo "Arvados repository uuid is $repo_uuid"
34 read -rd $'\000' newlink <<EOF; arv link create --link "$newlink"
36 "tail_kind":"arvados#group",
37 "tail_uuid":"$all_users_group_uuid",
38 "head_kind":"arvados#repository",
39 "head_uuid":"$repo_uuid",
40 "link_class":"permission",