How to set Shared-folders permissions on NS8

Does it work without the -p option which preserves the permissions?

tar -cvzf files.tar.gz files

Of course owner and permissions need to be changed after extracting as explained.

How do you extract the files to the share directory on the NS8?