Setting a shared folder from the terminal

Tetano

Registered
I've a friend who's trying to set on his Mac running Tiger a sharing folder that can be accessed by some PCs on his LAN, and who wants that other stuff on his machine can be seen from the PCs.. I tried to convince to use Sharepoints, but he doesn't want to use it... :rolleyes:
I think that from the terminal he can create a shared folder, setting the umask to 777 for that directory, but I've two doubts:
1. the permissions for the other folders in his home are drwx------ but when he access from a PC he can still see the content of that folders, and he doesn't want it... is there a solution?
2. if I type umask 000, then mkdir shared to create the shared folder, the new umask is applied to the content of the entire home folder?
 
Top