I am practising and I am trying to:1) create files with name of all combinations or r,w,x permission = 512 files;2) change the permission of that file to match the name I have created this script:touch ./{r,-}{w,-}{x,-},{r,-}{w,-}{x,-},{r,-}{w,-}{x,-}for i in *   do       syntax=${i//:}       u=${syntax:0:3}       g=${syntax:3:3}       o=${syntax:6:3}       chmod u=$u,g=$g,o=$o -- $i   doneIt changed a few permissions to match the name, but not all what did I do wrong?
change permissions
shell script;permissions