Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I need to enforce permissions on a directory, ugo+rw. I'd like to assure that files copied in from another directory will have their permissions reset to ugo+rw.

I also need to be sure that everyone in my Active Directory domain can access the share with ease (i.e. no login prompts, full read/write on everything recursively, on Windows (smb) or Leopard (afp)).

I'm trying to create an ultra easy to use public folder, however I always seem to run into someone or some machine (i.e. a guest user's machine not on the domain) accessing this folder.

I'm sure there are further details I may be able to provide, but I'm unsure of them. Comment and I'll add them in. Thanks!

share|improve this question
1  
What is serving up this public folder? Samba? –  Matt Jul 10 '09 at 20:38
    
This would be served by Mac OS X's built-in file sharing. –  danieljimenez Jul 28 '09 at 19:37

1 Answer 1

up vote 3 down vote accepted

Are you serving it from a Mac OS X Server? I use it to serve a shared folder so that all members of a group have full control of it and everything in it, both from Mac clients connecting over AFP, and linux clients connecting over NFS. I don't have any SMB clients, so I can't comment on whether it works there. My hunch would be that it would, because the ACL involved is enforced server-side, and doesn't need to be understood or visible to the client.

  1. Make sure you're using an HFS+ volume
  2. Use Server Admin.app, and click the File Sharing tab
  3. Browse to the shared directory, and click "Share" (if you haven't already)
  4. Click the Permissions tab below
  5. Add the following ACL:

    <group>; Allow; Full Control; This folder, Child files, Child folders, All descendants

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.