Moze nie odpala ci sie ten skrypt jako ten user co trzeba? Sproboj uzyc programu sudo, jesli to jest przyczyna. pozdrawiam Piotr Potargowicz.