Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

TiggrToo

macrumors 601
Original poster
Aug 24, 2017
4,205
8,838
My network scanner is configured to drop files into a well defined location on my MacBook and it correctly drops files there. Trouble is the default umask value seems to be 077 which means that when it drops scans then I need to do a sudo'd chmod to give myself (or the wife) permissions to the files.

There is no profile for the user in question ('scanuser') but from what my aging System V\88 memory serves (yup, I'm an old fart) a network connected user never executes a shell therefore setting a umask value in the .profile would be pointless.

Anyone any suggestions on how to enforce a umask value of 007 when it performs the scan (since scanuser shares the same same group as our user accounts so that value would work for my purposes)?
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.