To remove all ACL entries
sudo chmod -R -N FOLDERNAME
replace FOLDERNAME with the appropriate path
REMOVES ALL ACLS in the path.
-----------------------------------
To remove all ACL entries on a single folder
sudo chmod -N FOLDERNAME
replace FOLDERNAME with the appropriate path
----------------------------------------------
- REMOVING, ADDING OR CHANGING SINGLE ACL ENTRIES -
To remove this access control entry from individual files, type:
sudo chmod -a "everyone deny delete" FILENAME
For entire directories, replace FOLDERNAME with the appropriate path:
sudo chmod -R -a "everyone deny delete" FOLDERNAME
-----------------------------------------------
- REMOVING, ADDING OR CHANGING SINGLE ACL ENTRIES -
To add this access control entry from individual files, type:
sudo chmod +a "everyone deny delete" FILENAME
For entire directories, replace FOLDERNAME with the appropriate path:
sudo chmod -R +a "everyone deny delete" FOLDERNAME
---------------------------------------------------------------
Note - shared and public folders may require different permission settings
---------------------------------------------------------------
A FREE GUI TOOL THAT MIGHT HELP IS "SANDBOX"
http://www.mikey-san.net/sandbox/Sandbox22beta6.dmg
It's in Beta stage right now for leopard, but it seems to work pretty well.
Documentation for Leo ACL's can be found in Apple's Leo Server Docs section
I suggest reading them first before fiddling with ACL's.
http://images.apple.com/server/macosx/docs/CommandLine_Adminv10.5.pdf
http://images.apple.com/server/macosx/docs/FileServices_Adminv10.5.pdf
Mac OS X Server propagates ACL permissions at two well-defined times:
1. By the kernel at file or folder creation time—when you create a file or folder, the
kernel determines what permissions the file or folder inherits from its parent folder.
2. When initiated by administrator tools—for example, when using the Propagate
Permissions option in Server Admin.
So far I haven't been able to duplicate #2 in the standard leo version, but there is a less than ideal workaround of sorts:
Create another small Leo partition and use that to copy files to. Select the "Ignore ownership on this volume" box to share files.
There is an app called FileExaminer (a GUI) which only changes Posix permissions when you select "copy to enclosed" unlike finder which unwittingly copies ACL's along with the Posix permissions when that option is selected.
In closing, if your modifications fixed your sharing problems, then don't worry unless you think they may pose a security issue. That is the main reason Apple sets things the way they set them, is mostly because of security concerns (usually from the internet).
I myself use my computer (Desktop) mostly for website development purposes, so it would be a real pain in the rear to "try" to maintain security and usability at the same time, so I set up two (cascading) hardware firewalls between me and the internet so I wouldn't be driven insane trying to strike a balance between security and usability. I only have to worry about securing my lan connection which is a whole lot easier and can be done usually with just posix permissions and passwords and occasionally ACL's.
Kj