tweak permissions for root, for nightly scripts

This commit is contained in:
david 2001-12-15 19:07:59 +00:00
parent c7db0cc44e
commit 60c2f2da8b
7 changed files with 9 additions and 3 deletions

View File

@ -34,6 +34,8 @@ psql ldp -f stats_cdf.sql
psql ldp -f license.sql
psql ldp -f volunteer.sql
#views
psql ldp -f vw_gfdl_emails.sql
psql ldp -f vw_gfdl_docs.sql

View File

@ -29,3 +29,5 @@ copy doc_vote from '/tmp/ldp_doc_vote.txt';
copy stats from '/tmp/ldp_stats.txt';
copy stats_cdf from '/tmp/ldp_stats_cdf.txt';
copy license from '/tmp/ldp_license.txt';
copy volunteer from '/tmp/ldp_volunteer.txt';

View File

@ -9,4 +9,4 @@ CREATE TABLE maintainer (
);
GRANT ALL ON maintainer TO "www-data";
GRANT SELECT ON maintainer TO root;

View File

@ -10,4 +10,4 @@ CREATE TABLE pub_status
);
GRANT SELECT ON pub_status TO "www-data";
GRANT SELECT ON pub_status TO root;

View File

@ -9,4 +9,4 @@ CREATE TABLE review_status
);
GRANT SELECT ON review_status TO "www-data";
GRANT SELECT ON review_status TO root;

View File

@ -21,3 +21,4 @@ copy stats to '/tmp/ldp_stats.txt';
copy stats_cdf to '/tmp/ldp_stats_cdf.txt';
copy subtopic to '/tmp/ldp_subtopic.txt';
copy topic to '/tmp/ldp_topic.txt';
copy volunteer to '/tmp/ldp_volunteer.txt';

View File

@ -4,6 +4,7 @@ CREATE TABLE volunteer (
volunteer_id INT4 NOT NULL,
name TEXT,
email TEXT,
role CHAR(10),
PRIMARY KEY (volunteer_id)
);