Home Forums OS X Server and Client Discussion Questions and Answers File Ownership Question

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #375997
    gw1500se
    Participant

    I don’t understand why but I have a problem with ownership changes on files. I have an OD share that is mounted after authentication. On that share there is a folder owned by ‘admin’ and a special group. The group permissions are ‘rw’. Users belonging to that group drop files into that folder. The problem is that after dropping the file, the owner is changed to ‘admin’ and I want the owner left unchanged. I do not have the inherit permissions turned on for the mounted share. Why is the owner being changed and how do I stop it? TIA.

    #376018
    guitar24t
    Participant

    Who owns the file on the local computer? (I’ve noticed that if admin owns the file on one and then transfers to another via the network, it remains admin? not sure though? These permissions are ACL not POSIX?)

    Also, what if you counteracted the action with a script (for POSIX but I’m sure it can be adapted)?
    Use folder actions
    [code]
    –additem.scpt
    –add item to folder
    on adding folder items to this_folder after receiving added_items
    do shell script “chmod -R 775 #directorypath#”
    end adding folder items to
    [/code]
    Robert

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.

Comments are closed