Displaying 20 results from an estimated 3000 matches similar to: "shell script strangeness..."
2006 May 31
3
Cannot delete files from samba share
Hi all,
Following an upgrade from samba 2.2.8a to 3.0.22 we have been unable to
delete files on a samba share using an XP client. We were previously able
to delete these files when using 2.2.8a.
The problem occurs when we have a particular sub-set of permissions.
Directory permissions on UNIX are set to 775 and ownerhips to usera :
group1. This should mean that either usera or anyone who
2010 Mar 13
1
Testing file upload (Sinatra, RSpec, Rack-Test)
Hi.
I have a simple application and I want to add a file upload
functionality. How can I write a spec?
Here''s my try.
# directory structure
app:
- controller.rb
- controller.spec.rb
- files: []
- fixtures: [test_file.png]
# controller.spec.rb
require ''rack/test''
require ''controller''
module MyHelpers
def app
Sinatra::Application
end
end
2011 Sep 16
2
[LLVMdev] How to duplicate a function?
Hi all,
Sorry for the inconvenient about the previous post. The files were not
attached. So I put them here again.
I am a newbie in LLVM and I am trying to replace the function like:
old function || new function
==============================
=========
int haha(int a) { int haha(int a, char* ID) {
===>
}
2011 Jun 14
3
Read in from multiple Excel wksheets
I?ve got an Excel workbook with about 30 worksheets. Each worksheet
has 10000 rows of data over 30 columns.
I?d like to read the data from each worksheet into a dataframe or
matrix in R for processing. Normally, I use read.csv when interacting
with Excel but I?d rather manipulate a multisheet workbook directly
than set about splitting the original workbook and saving down each
part as a csv.
2005 Feb 17
1
REPOST: smbcacls question
Since I never received a reply, I am reposting this earlier post:
I am trying to run the following command and keep getting the same
error. My question is is there a problem with my command or is this
possibly an issue with Samba
smbcacls -d test_file -A ACL:DOMAIN\username:ALLOWED/0/CHANGE -U username
Here is the error:
debug_parse_params: unrecognized debug class name or format [test_file]
2007 Jan 30
1
Cannot preserve uids and gids with AIX 5.3 w/rsync 2.6.2
First, yes, I have read the piece on chroot....
Trying to get an AIX (5.3) to run rsync 2.6.2 as a daemon
I have tried every possibly usage to stop chroot, used no and false, as
on the web it has showed up as either.
Also dropped flag --numeric-ids when running....
Here is my test config---
# Simple test config file
log file = /tmp/rsync.log
[test]
use chroot = no
path = /tmp/rsync_test/
2013 Aug 07
1
FIEMAP problem
Hi,
We are trying to use OCFS2 as VM storage. After running into problems with
qemu's disk_mirror feature we now think there could be a problem with the
FIEMAP ioctl in OCFS2.
As far as I understand the situation looks like this:
Qemu inquiries the FS if the given section of the image is already allocated
via the FIEMAP ioctl [1]
It especially checks if fm_mapped_extents is greater 0.
2007 Jun 11
12
Mocking system/`
This drives me insane on a regular basis. How does one mock
system(''blah'') or `blah` ?
Adding expectations on Kernel doesn''t do it. Adding expectations on
Object just makes me sad:
Object.any_instance.expects(:system).with(''ls'')
# => #<Mock:0x12b584e>.system(''ls'') - expected calls: 0, actual calls: 1
And this really
2002 Nov 12
6
tftpd server
Hi
In the pxelinux page, is referred that the tftpd server from
http://tftpd32.jounin.net as working with pxelinux.
However, from the tests I've made, it seems that the 'tsize' option is not
supported.
Anyone has knowledge of a working TFTPD server that runs on Windows NT4?
p.s. it can be shareware, I just want to test it with NT4, I have had
success with the 'builtin'
2006 Jan 24
4
How to filter an activerecord find_all...
I have a nice hierarchical table structure like this:
divisions
has_many groups
groups
belongs_to division
has_many subgroups
subgroups
belongs_to group
has_many units
units
belongs_to subgroup
I have a report which is based on units, but i want to be able to filter
the units by which subgroup, or which group, or which division. I also
want to sort them by division.name,then group.name,
2018 Mar 05
2
backquotes and term.labels
A user reported a problem with the survdiff function and the use of variables that contain
a space.? Here is a simple example.? The same issue occurs in survfit for the same reason.
lung2 <- lung
names(lung2)[1] <- "in st"?? # old name is inst
survdiff(Surv(time, status) ~ `in st`, data=lung2)
Error in `[.data.frame`(m, ll) : undefined columns selected
In the body of the code
2008 Jan 24
4
using object.find() in a loop not returning an array
I''m running a loop (illustrated below) that retrieves records from a
table based on an id that might be different with each iteration. The
loop uses the array scrns (composed of IDs) to find the related records
in the Screens table. I''m attempting to store the returned results in
an instance variable so I can use that data in a view. However, this
code simply is overwriting
2009 Feb 12
1
Different labels for subsets of points in a PCA or RDA biplot
I've tried a few things both with prcomp(), and rda() and its friends
in vegan (including biplot.rda and ordiplot), but can't find a
solution. I'd like to associate subsets of the points in a resulting
biplot ("sites" in the rda object) with different plotting colors/text
styles to emphasize certain sets of points. I can't figure out how to
keep the arrows (for
2006 Feb 22
2
screensavers in general
Hi,
I tried some windows screensavers with Wine.
Most screensavers start with the configuration screen without a possibility to start the main
screensaver part.
It's the same thing when I rename a screensaver file from 'somewhat.scr' to 'somewhat.exe' and
try to run it with a doubleclick on my Windows 2000 PC. (*.scr: the screensaver starts, *.exe: the configuration screen
2007 Jul 26
1
autotest loosing RAILS_ROOT Constant?
I am having a weird error that I have not had before... I''m bouncing
it off the list to see if anyone else has had it, or to give me some
pointers about how to find it.
Basically, AUTOTEST will run (RSpec mode), fine, then suddenly, will
complain that RAILS_ROOT is undefined.
Then I stop and restart it, with no code change... no problem.
It happens on different specs where I use
2010 May 28
5
difference in sort order linux/Windows (R.2.11.0)
Dear R users,
I'm a bit perplexed with the effect sort has here, as it is different on
Windows vs. linux.
It makes my factor levels and subsequent plots different on the two systems.
Given:
types <- c("PC-D-Euro-0", "PC-D-Euro-1", "PC-D-Euro-2", "PC-D-Euro-3",
"PC-D-Euro-4", "PC-D-Euro-5", "PC-D-Euro-6",
2001 Nov 30
2
problem with 2.4.7pre4
rsync: connection unexpectedly closed (0 bytes read so far)
rsync error: error in rsync protocol data stream (code 12) at io.c(139)
Also, on 2.4.6 I was getting this:
access_log
write failed on access_log : Success
unexpected EOF in read_timeout
THis is about an 800meg file I'm trying to copy.
Thanks
-jeremy
--
The trouble with being poor is that it takes up all your time.
2014 Aug 26
1
Call for testing: OpenSSH 6.7
Good news/Bad News
The test race in RHEL 3.4 seems to be gone ... but another ec.h failure ...
Using http://www.mindrot.org/openssh_snap/openssh-SNAP-20140827.tar.gz
OS Build_Target CC
OpenSSL BUILD TEST
============== =========================== ================
============= ====== =================
*RHEL 3.4 i386-redhat-linux gcc
2016 Jun 24
1
haproxy + Apache + virtual hosts -> wrong host is displayed
Hello,
I hope my question is not off-topic here.
On CentOS 7.2.1511 I have installed:
haproxy-1.5.14-3.el7.x86_64
httpd-2.4.6-40.el7.centos.1.x86_64
The /etc/haproxy/haproxy.cfg binds HAProxy to
ports 80 and 443 and accepts HTTPS to slova.de:
defaults
mode http
option http-server-close
option forwardfor except 127.0.0.0/8
option
2012 Jan 16
1
dbWriteTable(con, access_log, overwrite = F).....
I am new to R.
My goal is to make a crosstable from a Apache access.log, which I want
to load into PostgreSQL database at first to
learn more abour R and DBI and datatypes. When the I have got the
access.log in the database I will try to make the
crosstable!
Trying to load the Apache access.log into PostgreSQL I get an error.
dbWriteTable(con, access_log, overwrite = F);
returns
Error in