Permalink
Browse files

Make sure the system flags utility creates the flag directory with 77…

…7 permissions. That ensures that all users (root included) can create flags there as necessary.
  • Loading branch information...
1 parent 21ed732 commit 3584759c4764796c40a2bf93e855a6d357c720a1 Ken Moore committed Mar 24, 2014
Showing with 1 addition and 1 deletion.
  1. +1 −1 src-qt4/libpcbsd/utils/pcbsd-sysFlags.h
@@ -27,7 +27,7 @@ class SystemFlags{
static void setFlag( SYSFLAG flag, QString contents = ""){
if(!QFile::exists(FLAGDIR)){
- pcbsd::Utils::runShellCommand("mkdir -p -m 666 "+FLAGDIR);
+ pcbsd::Utils::runShellCommand("mkdir -p -m 777 "+FLAGDIR);
if( !QFile::exists(FLAGDIR) ){ return; }
}
QString cmd;

0 comments on commit 3584759

Please sign in to comment.