[BUGFIX] setfilepermissions does not use sudo anymore
[BUGFIX] setfilepermissions does not use sudo anymore

This changes the behavior of the setfilerpermissions
command. Instead of using sudo right away, the bash
script now checks if it is run as root and if not
displays a message that it should.

Change-Id: Ied6dae7d4a78909442ac5087767267214f6ebc12
Resolves: #29326
Original-Commit-Hash: f7cc2c8861248157e89aa0d93a52c465b2bfa108

mkeitsch/flow-development-collection,gerhard-boden/flow-development-collection,bwaidelich/flow-development-collection,dfeyer/flow-development-collection,daniellienert/flow-development-collection,mkeitsch/flow-development-collection,kdambekalns/flow-development-collection,robertlemke/flow-development-collection,kdambekalns/flow-development-collection,neos/flow-development-collection,robertlemke/flow-development-collection,neos/flow-development-collection,robertlemke/flow-development-collection,aertmann/flow-development-collection,dlubitz/flow-development-collection,fcool/flow-development-collection,dlubitz/flow-development-collection,chewbakartik/flow-development-collection,kdambekalns/flow-development-collection,albe/flow-development-collection,chewbakartik/flow-development-collection,kitsunet/flow-development-collection,fcool/flow-development-collection,kdambekalns/flow-development-collection,bwaidelich/flow-development-collection,dfeyer/flow-development-collection,dfeyer/flow-development-collection,mkeitsch/flow-development-collection,kitsunet/flow-development-collection,kitsunet/flow-development-collection,dlubitz/flow-development-collection,fcool/flow-development-collection,aertmann/flow-development-collection,fcool/flow-development-collection,bwaidelich/flow-development-collection,neos/flow-development-collection,aertmann/flow-development-collection,chewbakartik/flow-development-collection,daniellienert/flow-development-collection,albe/flow-development-collection,albe/flow-development-collection,daniellienert/flow-development-collection,gerhard-boden/flow-development-collection,dfeyer/flow-development-collection,neos/flow-development-collection,gerhard-boden/flow-development-collection,robertlemke/flow-development-collection