Return to BSD News archive
Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!simtel!news.kei.com!news.mathworks.com!gatech!psinntp!psinntp!psinntp!psinntp!barilvm!news.biu.ac.il!vms.huji.ac.il!shum.cc.huji.ac.il!nntpserver.huji.ac.il!amoss Newsgroups: comp.unix.bsd.freebsd.misc Subject: Re: File permissions on executables Message-ID: <AMOSS.95Jun1100849@picton.cs.huji.ac.il> From: amoss@picton.cs.huji.ac.il (Amos Shapira) Date: 01 Jun 1995 07:08:48 GMT References: <3qak8t$hif@Owl.nstn.ca> Distribution: world Organization: Inst. of Comp. Sci., Hebrew University, Jerusalem, Israel NNTP-Posting-Host: picton.cs.huji.ac.il In-reply-to: digdon@snoopy.ucis.dal.ca's message of 28 May 1995 16:51:57 -0300 Lines: 20 digdon@snoopy.ucis.dal.ca (Mike Digdon) writes: I'm having a problem with file permissions on compiled executables. I currently have my umask set at 077. When I compile a program, this means I should get permissions of rwx------, however, I get rwx--x--x instead. Why is my umask being ignored here? Maybe because the compiler chmod(2)'s after creating the file? (umask affects only new inode creation, as far as I remember) Maybe there is a switch to tell it to stop this. Cheers, --Amos -- --Amos Shapira | "Of course Australia was marked for 133 Shlomo Ben-Yosef st. | glory, for its people had been chosen Jerusalem 93 805 | by the finest judges in England." ISRAEL amoss@cs.huji.ac.il | -- Anonymous