Re: Read-Only in Shared Account?


Subject: Re: Read-Only in Shared Account?
From: Tom Fitzgerald (tfitz@MIT.EDU)
Date: Wed Aug 02 2000 - 16:08:52 EDT


> 2) Some users also want to be able to save read only files/folders inside this
> shared directory. I don't know if this is possible and allow solution one
> listed above.

Once the file is uploaded, the owner can do a get-info on the file, switch
to "sharing", and manually set the permissions associated with it
(basically they want to remove group write access).

This doesn't automatically stop other users from renaming or deleting the
file, since you don't need to write to a file to do this (you only need to
write to the directory it's in). To make files non-deletable except by
the owner, make sure the sticky bit is on in the parent folder. The ls -l
display should look like:

drwxrwsr-t 21 root group 1024 Aug 2 15:42 Folder Name

with the "t" in the 10th column to show you the sticky bit is set.

> 3) Can someone tell me how do I affect the file/folder mask? I looked in
> /etc/atalk/config and couldn't find anything that looked appropriate. I would
> like to change the mask in only certain directories and leave the default as
> is. Is this possible?

New folders are always created with the same permissions as their parent
folder. Files are created with the permissions of the parent folder,
masked with 0666.

So generally if you set the root folders up right, and manually set the
permissions on special folders created in it (like dropboxes), everything
should work.

If this doesn't do what you need, users will need to change the
permissions on the files themselves, as described above.

> PS -- did anybody figure out how to create a drop box?

Depends on exactly what you need, but yes. The discussion should be in
the list archives.



This archive was generated by hypermail 2b28 : Wed Jan 17 2001 - 14:31:48 EST