[ale] umask question

Randolph C. Karrh randy at NewRiverplt.com
Tue Jan 1 10:25:20 EST 2002



I think  "chmod -R" should work provided the ownership of the files
are not in question.

Randy




On Mon, 31 Dec 2001, Joe Steele wrote:

> I don't think umask will do what you want it to do.  It only has the
> ability to take away access permissions on newly created files;  It
> cannot supplement them.  If a program wants to create a file with 666
> permissions, then your options are to either chmod the file to 777
> after it's created or else modify the program.
>
> As for 'man umask' --  It's one of those commands ('ulimit' is
> another example) that can only be implemented as a built-in shell
> command.  It doesn't exist as a stand alone command with its own man
> page (except, of course, for the libc function).  For documentation,
> try 'man bash' and then search for 'umask'.
>
> --Joe
>
> -----Original Message-----
> From:	Ken Nagorski [SMTP:kenn at refriedgeek.com]
> Sent:	Monday, December 31, 2001 9:45 AM
> To:	ale at ale.org
> Subject:	[ale] umask question
>
> Hi there,
>
> This seems like it should be easy however I am not sure how I would do this.
> I need to have all files in certian directory get 777 permissions. I think I
> could do this?
>
> I looked at `man umask` and it was for the C function call.
>
> Any ideas where to look?
>
> Thanks
> Ken
>
> ----------------------------------------------
> But I don't want to go among mad people,
> Alice remarked.
> Oh, you can't help that, said the Cat:
> we're all mad here. I'm mad. You're mad.
> How do you know I'm mad? said Alice.
> You must be, said the Cat,
> or you wouldn't have come here.
>
>
> ---
> This message has been sent through the ALE general discussion list.
> See http://www.ale.org/mailing-lists.shtml for more info. Problems should be
> sent to listmaster at ale dot org.
>
> ---
> This message has been sent through the ALE general discussion list.
> See http://www.ale.org/mailing-lists.shtml for more info. Problems should be
> sent to listmaster at ale dot org.
>

-- 
Randolph C. Karrh Jr.   "May the world work for you and not against you!"

Concepts2020.com
P.O. Box 2124                   office   843.684.3874
Savannah Ga. 31402              fax      843.784.6232


---
This message has been sent through the ALE general discussion list.
See http://www.ale.org/mailing-lists.shtml for more info. Problems should be 
sent to listmaster at ale dot org.






More information about the Ale mailing list