Directory permissions
This commit is contained in:
parent
74be19f042
commit
d3cd1dc08f
|
@ -234,7 +234,7 @@ function create_tahoelafs_introducer {
|
|||
return
|
||||
fi
|
||||
|
||||
mkdir ${introducer_dir}
|
||||
su -c "mkdir ${introducer_dir}" - tahoelafs
|
||||
su -c "$TAHOE_COMMAND create-introducer -C ${introducer_dir} --hide-ip --hostname=127.0.0.1" - tahoelafs
|
||||
}
|
||||
|
||||
|
@ -251,7 +251,7 @@ function create_tahoelafs_storage_node {
|
|||
return
|
||||
fi
|
||||
|
||||
mkdir ${node_dir}
|
||||
su -c "mkdir ${node_dir}" - tahoelafs
|
||||
su -c "$TAHOE_COMMAND create-node -C ${node_dir} --introducer=\"$furl\" --listen=tor --hide-ip --hostname=127.0.0.1" - tahoelafs
|
||||
}
|
||||
|
||||
|
@ -268,7 +268,7 @@ function create_tahoelafs_client {
|
|||
return
|
||||
fi
|
||||
|
||||
mkdir ${client_dir}
|
||||
su -c "mkdir ${client_dir}" - tahoelafs
|
||||
su -c "$TAHOE_COMMAND create-client -C ${client_dir} --introducer=\"$furl\" --listen=tor --hide-ip --hostname=127.0.0.1" - tahoelafs
|
||||
sed -i 's|reveal-IP-address =.*|reveal-IP-address = False|g' $client_dir/tahoe.cfg
|
||||
sed -i 's|tub.port =.*|tub.port = disabled|g' $client_dir/tahoe.cfg
|
||||
|
|
Loading…
Reference in New Issue