[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

permissions - is this the best approach?



I've set up a Linux and Mac zeroconf (netatalk) LAN. On the Linux box (Debian Etch) I have a shared directory for passing files to/from the Linux box, that is accessed from the Mac (while AppleTalk/zeroconf allows a peer-to-peer network model, netatalk only provides for a Mac to "see" a Linux system but the Linux system can't "see" a Mac for file sharing).

As root on the Linux box I created a new user "lanshare" accepting standard permissions for the /home/lanshare directory
owner: rwx group: r-x others: r-x
I also added to the "lanshare" group the other Linux users that I want to be able to use a shared directory.

Then I logged in as "lanshare" and created the folder "public" in /home/lanshare/. For this "public" folder I modified the permissions to
owner: rwx group: rwx others: ---
and I set the sticky bit.

The idea is to allow various users on the Linux box the ability to create and delete their own files in /home/lanshare/public and to read/copy any files therein. The Mac will create and delete files therein as the user "lanshare."

This seems to work as intended, but I'm wondering if such is the best way to handle the setup?

Thank you,
Lee C



Reply to: