similar to: changing umask on project/tmp files?

Displaying 20 results from an estimated 700 matches similar to: "changing umask on project/tmp files?"

2008 Jun 17
1
problem when changing default sqlite to mysql
hi all, i installed rails 2.1.0 just now before i was working with rails 1.2.6. when i try to check the application enviroment link in the index page of the application it gave me " MissingSourceFile in Rails/infoController#properties no such file to load -- sqlite3RAILS_ROOT: D:/RadRails/Workspace/Varsha " here i am using win XP, no sqlite installed. i have
2006 Aug 12
0
trivial questions about rails edge
Hola! I''ve just downloaded rails edge and noted two strange things: ---------------- 1. The "About your application.s environment" link on "Welcome aboard" page fails saying: Rails/infoController#properties uninitialized constant Rails::InfoController The trace ends like : vendor/rails/activesupport/lib/active_support/dependencies.rb:178:in
2011 Oct 06
0
Rake Routes Blank on upgrade to Rails 3
I have just upgraded an app to rails 3 following the railscast screencast. I have installed a blank application inside the app to be upgraded with: rails new . I have replaced all the the main files. When I run rake routes I get no output. routes.rb: App::Application.routes.draw do resources :products end (ie, just the default file with an example uncommented) I have tried a number of
2006 Jul 28
2
newb question...
This is what it says when i have this stupid error... app/controllers/info_controller.rb:9: syntax error this is what is inside of info_controller, class InfoController < ApplicationController def who_bought @product = Product.find(params[:id]) @orders = @product.orders respond_to do |accepts| accepts.html accepts.xml end end if someone could please help me... -/ James --
2008 Nov 16
1
error when run rails project
Hi everyone, I''m new in rails. After I ran "gem update --system", I had a lot of problems when running rails projects. I tried to fix from error to error and now when I run rails project, it occurs error like this: About your application’s environment PGError in Rails/infoController#properties could not connect to server: No such file or directory Is the server running
2006 Mar 21
2
r3981 causes SystemStackError
http://dev.rubyonrails.org/changeset/3981 ?!? The changes are a rename of RailsInfoController to Rails::InfoController. That seems to be completely unrelated to this error: $ ruby script\server => Booting WEBrick... ./script/../config/../vendor/rails/activesupport/lib/active_support/inflector.rb:121:in `underscore': stack level too deep (SystemStackError) from
2009 Sep 30
1
Can't connect with MySQL database
I just installed MySQL and its drivers on a Mac OS X Leopard. When I issued my rails command to build a new app, then issued the script/ server command and connected to my localhost:3000 in the browser, I saw the following problem with MySQL. I changed/updated the PATH in nano, and it can see MySQL fine. So I really don''t understand the problem. Can you tell me what I need to do? Thank
2009 Apr 06
1
Seeking help with basic installation
Hi all, Please help me.In my first attempt to creat a simple controller and working with hello world program.I got some error though I have my action and view correctly....... In general..When I type http://localhost:3000/ I can get the welcome page.But when I see the "About your application Envinorment"..I get some error as following.. MissingSourceFile in
2007 Dec 14
3
Issue with upgrading to 2.0 on Leopard? Or something else?
Sorry if this has been covered, but I finally decided to upgrade to Rails 2.0 (running Leopard and previously at rails 1.2.6) so I could start using some of the great new features. I ran the usual "sudo gem install rails --include-dependencies" to upgrade and now my development environment is all out of whack. I suspected MySQL, but I''ve already made sure I was using the
2010 Mar 11
0
alternative tmp directory?
I''m trying to determine how I can set an alternative tmp directory for cruise session files. My /tmp has filled up a few times now with ruby_sess.ff20ec1c310b4a78 (and similar) files. I cleaned them all out yesterday, and have another 532 of them today. I''ve tried a few things so far. I have a tmp/sessions directory within cruise itself, but that is not being used. In
1998 Dec 18
0
user level authentication on Samba 2.0.0b4
First of, thanks to Robert Dahlem who pointed out that my "error 131" was due to using a hosts allow statement, but not allowing 127. to connect A new problem... I compiled samba on Solaris (Sparc) 2.6 with v4.2 of the sun CC compiler. It compiles just fine, and I appear to have a working binary. I run into problems when trying to connect using smbclient. It works if I specify my
2016 May 23
0
Re: [PATCH] umask: Use /proc/<PID>/status to read umask in Linux >= 4.7.
On Mon, May 23, 2016 at 12:12:21PM +0300, Roman Kagan wrote: > On Sat, May 21, 2016 at 01:14:40PM +0100, Richard W.M. Jones wrote: > > + path = safe_asprintf (g, "/proc/%d/status", getpid ()); > > Why not "/proc/self/status"? Hmm indeed why not :-( I will fix it ... Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read
2016 May 21
1
[PATCH] umask: Use /proc/<PID>/status to read umask in Linux >= 4.7.
Since Linux 4.7, the process umask is available in /proc/<pid>/status. See: https://github.com/torvalds/linux/commit/3e42979e65dace1f9268dd5440e5ab096b8dee59 Use this value if available, else fall back to the existing codepath for Linux <= 4.6 and other Unix. --- src/umask.c | 86 +++++++++++++++++++++++++++++++++++++++++++++++++++++++------ 1 file changed, 78 insertions(+), 8
2012 Aug 22
1
Error in if (n > 0)
I've searched the Web with Google and do not find what might cause this particular error from an invocation of cenboxplot: cenboxplot(cu.t$quant, cu.t$ceneq1, cu.t$era, range=1.5, main='Total Recoverable Copper', ylab='Concentration (mg/L)', xlab='Time Period') Error in if (n > 0) (1L:n - a)/(n + 1 - 2 * a) else numeric() : argument is of length zero I do
1999 Sep 03
0
umask problems, etc.
Three quick notes-- 1) Umask defaults to 000 when running an xterm or gnome-terminal on redhat 6.0, unless you run a login shell. This is a Bad Thing. 2) The binary package for the inews-2.2.1-1 update released 9/1/99 isn''t on the redhat updates site; inn and inn-devel are insufficient. I had to compile the SRPM. 3) Nothing. There is no third note.
2008 Mar 07
0
umask in nfs
Normal users umask is 022 set in /etc/bashrc Obviously I can change that value to 002 but that would affect all files created by each user. Is it possible to set a different umask on nfs mounts only so that user created files have a umask of 002 on files saved onto that mount? man mount shows this is possible on some filesystems but man nfs doesn't suggest that this is possible. Craig
2013 Jul 10
0
install.packages umask configuration
Hi, The R-admin manual says: "If installing packages on a Unix-alike to be used by other users, ensure that the system umask is set to give sufficient permissions (see also Sys.umask in R). (To a large extent this is unnecessary in recent versions of R, which install packages as if umask = 022.)" I want install.packages() to honor my umask which is 002. I can't find a way to do
2012 Feb 10
0
[PATCH] btrfs: honor umask when creating subvol root
Set the subvol root inode permissions based on the current umask. --- fs/btrfs/inode.c | 6 ++++-- 1 files changed, 4 insertions(+), 2 deletions(-) diff --git a/fs/btrfs/inode.c b/fs/btrfs/inode.c index 32214fe..b88e71a 100644 --- a/fs/btrfs/inode.c +++ b/fs/btrfs/inode.c @@ -6696,8 +6696,10 @@ int btrfs_create_subvol_root(struct btrfs_trans_handle *trans, int err; u64 index = 0; -
2008 Dec 04
0
[patch] muxserver_listen() doesn't restore umask when bind fails
Cheers, - Salva $ diff -c mux.c~ mux.c *** mux.c~ 2008-06-14 01:01:54.000000000 +0200 --- mux.c 2008-12-04 12:24:45.000000000 +0100 *************** *** 148,153 **** --- 148,154 ---- error("ControlSocket %s already exists, " "disabling multiplexing", options.control_path); close(muxserver_sock); + umask(old_umask);
1997 Sep 29
1
UMASK Problems
I have quite a problem with the new SAMBA version(s) ( both 1.9.17 and 1.9.17 p2). When creating a directory in a samba-mounted unix file system the create mask entry will be ignored. I tried a lot (changing umasks on the unix boxes (SunOS/Solaris), changing the create mask entry to a many different values) but nothing happens at all. Every directory will be created with the permissions of 755.