Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emulab
emulab-stable
Commits
987c8ca6
Commit
987c8ca6
authored
Oct 16, 2001
by
Leigh B. Stoller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Some minor nits fixed.
parent
14933df1
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
5 additions
and
5 deletions
+5
-5
tbsetup/mkprojdir.in
tbsetup/mkprojdir.in
+1
-1
tbsetup/power.in
tbsetup/power.in
+1
-1
www/dbdefs.php3.in
www/dbdefs.php3.in
+2
-2
www/newproject.php3
www/newproject.php3
+1
-1
No files found.
tbsetup/mkprojdir.in
View file @
987c8ca6
...
...
@@ -79,7 +79,7 @@ if (! ($head = ProjLeader($pid))) {
my
(
undef
,
undef
,
$uid
)
=
getpwnam
(
$head
)
or
die
"
$head
not in passwd file
";
my
(
undef
,
undef
,
$gid
)
=
getgrnam
(
$pid
)
;
my
(
undef
,
undef
,
$gid
)
=
getgrnam
(
$pid
)
or
die
"
$pid
not in group file
";
#
...
...
tbsetup/power.in
View file @
987c8ca6
...
...
@@ -121,7 +121,7 @@ if ($user ne "root") {
"
e.pid=n.pid and e.eid=n.eid
"
.
"
left join group_membership as g on
"
.
"
g.pid=e.pid and g.gid=e.gid
"
.
"
where (
"
.
join
("
or
",
@conds
)
.
"
) g.uid='
$user
';
";
"
where (
"
.
join
("
or
",
@conds
)
.
"
)
and
g.uid='
$user
';
";
print
"
Checking authorization for '
$user
': '
$cmd
'
\n
"
if
$verbose
;
$sth
=
$dbh
->
query
(
$cmd
)
...
...
www/dbdefs.php3.in
View file @
987c8ca6
...
...
@@ -552,9 +552,9 @@ function TBImageIDAccessCheck($uid, $imageid, $access_type)
# Return the Unix GID Name and Number for a group. This is distinct from
# the name we use within the Testbed system.
#
# usage: TBGroupUnixInfo($pid, $gid, &$unix_
name
, &$unix_
gid
)
# usage: TBGroupUnixInfo($pid, $gid, &$unix_
gid
, &$unix_
name
)
#
function
TBGroupUnixInfo
(
$pid
,
$gid
,
&
$unix_
name
,
&
$unix_
gid
)
function
TBGroupUnixInfo
(
$pid
,
$gid
,
&
$unix_
gid
,
&
$unix_
name
)
{
$query_result
=
DBQueryFatal
(
"select unix_name,unix_gid from groups "
.
...
...
www/newproject.php3
View file @
987c8ca6
...
...
@@ -337,7 +337,7 @@ mail($TBMAIL_APPROVAL,
"Members:
$proj_members
\n
"
.
"PCs:
$proj_pcs
\n
"
.
"Sharks:
$proj_sharks
\n
"
.
"Unix GID:
$unix_gid
\n
"
.
"Unix GID:
$unix_name
(
$unix_gid
)
\n
"
.
"Reasons:
\n
$proj_why
\n\n
"
.
"Please review the application and when you have
\n
"
.
"made a decision, go to
$TBWWW
and
\n
"
.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment