Re: file permission problem
Fred Cohen <[email protected]>
| Newsgroups | gmane.lisp.clisp.general |
|---|---|
| Message-ID | <[email protected]> |
I think clisp should be using the default for the user and system per
any other Unix-like system, and the user should be able to have a call
to change the default umask on such systems.
On 2015-08-11 12:23, Don Cohen wrote:
>>> [1]> (with-open-file (s "/home/cmcadm/data2009/mb2" :direction :output))
>>> NIL
>>> =>
>>> -rw-r-----. 1 marilyn cmcadm 0 Aug 11 10:13 mb2
> When I run this under strace I see
> open("/home/cmcadm/data2009/mb2", O_RDWR|O_CREAT|O_TRUNC|O_LARGEFILE, 0644) = 4
>
> It seems that 0644 is the culprit.
> If it were 0664, for instance, I'd get my rw.
>
> When I strace touch I see
> open("/home/cmcadm/data2009/mb3", O_WRONLY|O_CREAT|O_NOCTTY|O_NONBLOCK|O_LARGEFILE, 0666) = 3
>
> So I now suggest that clisp should be using 0666.
>
> Any other opinions?
>
> ------------------------------------------------------------------------------
> _______________________________________________
> clisp-list mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/clisp-list
--
-This is confidential to the parties I intend it to serve-
Fred Cohen - 925-454-0171 - All.Net & Affiliated Companies
http://all.net/ PO Box 811 Pebble Beach, CA 93953
------------------------------------------------------------------------------
_______________________________________________
clisp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/clisp-list