Re: Func umask problem?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I'm not using the send/putfile modules.

I had patched funcd to run as a non-root user.  When I was using func to launch a custom module(a control script), the resulting daemonized process would create all files with a umask of 077.  This was the case for both async and non-async modes.

To fix the issue, I just set the proper umask(022) in my func module prior to launching the process.  Kind of a hack, but it doesnât break func and my stuff gets created with proper perms.

Thanks!
Nick


-----Original Message-----
From: seth vidal [mailto:skvidal@xxxxxxxxxxxxxxxxx]
Sent: Monday, June 13, 2011 3:50 PM
To: Nick Nachefski
Cc: func-list@xxxxxxxxxx
Subject: Re:  Func umask problem?

On Mon, 2011-06-13 at 14:49 -0500, Nick Nachefski wrote:
> Iâm using func to launch a process on remote machines.  This process
> in turn generates some local files on those machines.  It appears as
> if the files are being created with the umask 077.
>
>
>
> Is this a bug with func?

are you're using sendfile/putfile?

can you tell me which files you're talking about?

-sv






Note: This email is for the confidential use of the named addressee(s) only and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you are hereby notified that any review, dissemination or copying of this email is strictly prohibited, and to please notify the sender immediately and destroy this email and any attachments.  Email transmission cannot be guaranteed to be secure or error-free.  Jump Trading, therefore, does not make any guarantees as to the completeness or accuracy of this email or any attachments.  This email is for informational purposes only and does not constitute a recommendation, offer, request or solicitation of any kind to buy, sell, subscribe, redeem or perform any type of transaction of a financial product.

_______________________________________________
Func-list mailing list
Func-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/func-list



[Index of Archives]     [Fedora Users]     [Linux Networking]     [Fedora Legacy List]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux