diff --git a/vnc/copyws.sh b/vnc/copyws.sh
index 218a77d9aa767f2d33f7925f53877569dff87869..f2e3afcebbb178197c70717a49d17fbac99569c3 100644
--- a/vnc/copyws.sh
+++ b/vnc/copyws.sh
@@ -3,5 +3,5 @@
 if [ -z "$(ls -A /root/Desktop/ros_ws)" ]; then
    echo "Copying workspace..."
    cp /root/ws_tmp/* /root/Desktop/ros_ws -r
-   chmod a+rwx /root/Desktop/ros_ws/* -R
+   chmod a+rwx /root/Desktop/ros_ws/ -R
 fi
\ No newline at end of file