Announcement

Collapse
No announcement yet.

Linux Batch Render umask?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Linux Batch Render umask?

    We fail to specify the umask (to 0) for created camera folders when rendering under Linux with the Maya Render command. We have tried to modify the maya launch script (/usr/autodesk/maya2011-x64/bin/maya) with "umask 0" at the beginning of the file without success..

    Where can we set the umask to 0 for created camera folders and image output?

    We are using VRay 1.5SP1 for Maya.

    We need this because of a user/nfs/samba thing with mixed Mac and Linux boxes...

    Thanks,
    Max
    Last edited by max@mfx; 17-05-2011, 01:45 AM. Reason: Added version of VRay.

  • #2
    Hi Max,

    what permissions exactly do you need on the created camera folders? Do you need 0777?
    Veselin Georgiev
    Developer
    Chaos Software, Ltd.

    Comment


    • #3
      Yes, exactly, we need 777 (same as umask 0). Is there any way?

      Comment


      • #4
        Hi Max,

        no, unfortunately, I think it is our fault that umask = 0 doesn't work in your case. We make directories with 0755, so that's why the umask trick in the maya launch script doesn't work.
        Please, confirm that you get exactly 0755 when umask is 0?
        This will confirm that the issue is really on our side, in which case we can fix it very quickly.
        Veselin Georgiev
        Developer
        Chaos Software, Ltd.

        Comment


        • #5
          Yes, the permissions on both the frames and camera folder is 755. It's a problem for us as we don't have NIS on our Mac workstations, only on our Linux farm. This results in the camera folders having 755 with the job's user if created on Linux, thus making the Macs refuse to write any frames in the folder..

          And as VRay can't handle stdour/stderr correct it all looks as if the frames are written successfully from the farm software's POV. This further results in the farm "eating up" all frames believing they are done, "finishing" a job without any frames and wasting all night idling... This of course is not all VRay's fault but the chain of consequences in our pipeline.

          Can you make VRay respect the current umask? That would be the cleanest solution..

          If not, do you have any other solutions?

          /Max

          Comment


          • #6
            Yes, this is a bug on our side -- sorry about that.
            I'm putting it on the bug tracker and I will fix it today.
            The fix will be effective in tomorrow's nighly builds. If you don't have access to the nightly builds, don't hesitate to contact out support staff regarding that.
            Veselin Georgiev
            Developer
            Chaos Software, Ltd.

            Comment


            • #7
              Thanks!

              I have access to the nightlies now. Make sure you build the 64bit Linux and Mac versions for 2011 (seems to be different builds every day).

              /Max

              Comment

              Working...
              X