Project

General

Profile

« Previous | Next » 

Revision 9636

lib/sh/db.sh: mysql_seal_table(): also revoke GRANT OPTION, which apparently needs to be done in addition (and in a separate command, unlike when granting GRANT OPTION)

View differences:

lib/sh/db.sh
206 206
	echo_func; kw_params table user; : "${table:?}" "${user:?}"; mk_table_esc
207 207
	
208 208
	benign_error=1 mysql_root <<<"REVOKE ALL PRIVILEGES ON $table FROM '$user'@'%'" || true
209
	benign_error=1 mysql_root <<<"REVOKE GRANT OPTION   ON $table FROM '$user'@'%'" || true
209 210
}
210 211

  
211 212

  

Also available in: Unified diff