Home Forums OS X Server and Client Discussion File Serving AFP (ACL’s on) writes 755 privs on every file….

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #370643
    smitsc05
    Participant

    I know, I know, with ACL’s on why should it matter? Well…

    Renderman completely ignores the ACLs when it renders, it only obey’s POSIX. It renders a frame (as a jpeg or exr) and in-order to render the next frame it must open the previous frame. The problem is, since all the frames are written as 755, renderman can’t open the frame file to write the next one.

    How can I change the default write permissions for dirs on our Xserve with ACLs on? Any ideas?? (chmod 2777 did NOT work.)

    Puleeeeeeze help!

    Thanks!!

    #370660
    maxcom29
    Participant

    Not sure if this helps, but if I understand your issue correctly then I’ve had a similar issue with almost all versions of Photoshop in an environment where users heavily shared each other’s files. The only solution I came up with at the time. to make this easier/transparent on the users, was to reset their default umask on the client side. The funny thing is that even then not all applications saved files according to the umask, but that’s another issue.
    Regardless, in the end I just told users to copy the affected files to their desktop, work on them and then use the Finder to copy the updates to the server as was the official policy anyways for other reasons.

    The following command should change their umask to be 775 if I recall correctly:
    defaults write /Users/[INSERTUSERNAME]/Library/Preferences/.GlobalPreferences NSUmask -int 2

    Then have them logout/login. You can also set the umask for the whole workstation by applying the same change to the .GlobalPreferences file in the /Library/Preferences/ folder. From that point onward they “should” write files with more suitable POSIX permissions.

    Hope this helps a tiny bit.

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

Comments are closed