changed permissions internally
cmd permissions rework
not yet finished