Are you talking files created by ftp, or files simply created by say, vi? If it's the latter, I don't believe it's possible to create files with 777 in unix/linux. Umask will only restrict down further, but it cannot give permissions. Not taking umask into account you can only create files as permission 666, the unix world doesn't make files executable by default. Umask can only take away read and write permissions in this case, it can't add executable.
But that's in solaris, I may be wrong in RedHat. Mike -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Richard S. Crawford Sent: Tuesday, January 21, 2003 2:14 PM To: [EMAIL PROTECTED] Subject: RE: Directory permissions You shouldn't have to. Setting chmod 777 on the directory should do it just fine. On the other hand, Bret might be right as well. This may not be possible. I'm not enough of a Linux expert to know for sure. ;-) May I ask why you need to do this? There might be a more efficient solution to your problem. For example, if you have a bunch of programmers all working together on a big project, maybe it's better to look into cvs or some other source management tool? On Tue, 2003-01-21 at 13:56, Burke, Thomas G. wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > I would like some way for it to happen automatically. I can > certainly put what you're saying in an hourly cronjob (which is what > I did in the past), but I'd like to be a little more slick than that. > > - -----Original Message----- > From: Richard S. Crawford [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, January 21, 2003 4:47 PM > To: [EMAIL PROTECTED] > Subject: Re: Directory permissions > > > # mkdir /openDirectory > # chmod 777 -R /openDirectory > > is one way to do it, but probably kind of clunky and insecure. It's > worked on my system. > > You might also want to look into the umask command. > > > > On Tue, 2003-01-21 at 13:16, Burke, Thomas G. wrote: > > -----BEGIN PGP SIGNED MESSAGE----- > > Hash: SHA1 > > > > Hey gang, > > > > I'd leike to set up a directory such that anytime a file is > > written to that directory, it is created chmod 777, regardless of > > who creates it, or how it is created. Anyone know how to do this? > > > > Thanks, > > Tom > > > > -----BEGIN PGP SIGNATURE----- > > Version: PGP Personal Privacy 6.5.3 > > > > iQA/AwUBPi24xdPjBkUEZx5AEQL3vgCg8q1hNCa0XGiGsPzwVzWfFky83VMAnjFh > > O9Im0TtS0aHqF322iwu9LyZI > > =2iiK > > -----END PGP SIGNATURE----- > - -- > - -- > Slainte, > Richard S. Crawford > AIM: Buffalo2K / Y!: rscrawford / ICQ: 11640404 > http://www.mossroot.com http://www.stonegoose.com > "It is only with our heart that we can see clearly. What is > essential > is > invisible to the eye." --Antoine de Saint Exupery > > > > - -- > redhat-list mailing list > unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe > https://listman.redhat.com/mailman/listinfo/redhat-list > > -----BEGIN PGP SIGNATURE----- > Version: PGP Personal Privacy 6.5.3 > > iQA/AwUBPi3CAtPjBkUEZx5AEQKfMgCdHqOPEBs6ex3BgvpvPG3kxs48S/cAoPt4 > q/u+xk3ZqcLgiyuz1G+4sRe7 > =j88G > -----END PGP SIGNATURE----- -- -- Slainte, Richard S. Crawford AIM: Buffalo2K / Y!: rscrawford / ICQ: 11640404 http://www.mossroot.com http://www.stonegoose.com "It is only with our heart that we can see clearly. What is essential is invisible to the eye." --Antoine de Saint Exupery -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe https://listman.redhat.com/mailman/listinfo/redhat-list -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe https://listman.redhat.com/mailman/listinfo/redhat-list