Displaying 20 results from an estimated 300 matches similar to: "Prevent Samba clients from changing group ownership?"
2004 Jun 04
2
Bug#252597: logcheck: user logchecks mails should be delivered to root
Package: logcheck
Version: 1.2.20a
Severity: important
Since logcheck changed to run as user logcheck, the error mails of the cron
daemon end up in /var/mail/logcheck where nobody reads them. Mails for
logcheck should be aliased to root like all the other mails of system
accounts.
I was searching for a long time what was wrong with my logcheck not
delivering any mails. The lock directory was
2011 Sep 06
0
problems with winbindd in centos 5.6
Hi,
i have set up a fileserver with samba 3.5.11-44 from SerNet on a 64Bit
centos 5.6.
I joined our microsoft domain an everything seems to bee o.k.
But when i change a group membership on the AD side, the mapping on the
linux side is wrong.
For example i have a user "GN" which is member of the group "nwo-ke".
Then i and him to "nwo-k" but this doesn't show up
2012 Mar 25
2
string substitution for argument in function
hello,
I want to iterate through a list of names and use each element as an
argument in a function. For instance:
> a = c('one','two','three')
> data= c()
> for(elem in a){data=cbind(elem = 2,data)}
> data
elem elem elem
[1,] 2 2 2
instead I want 'elem' to be substituted by the string in the list. Doing
it by hand would be:
> data =
2012 Feb 23
2
lockmanager for use with clvm
Hi,
i am setting up a cluster of kvm hypervisors managed with libvirt.
The storage pool is on iscsi with clvm. To prevent that a vm is
started on more than one hypervisor, I want to use a lockmanager
with libvirt.
I could only find sanlock as lockmanager, but AFSIK sanlock will not
work in my setup as I don't have a shared filesystem. I have dlm running
for clvm. Are there lockmanager
2018 Jul 23
2
oddity in transform
Note the inconsistency in the names in these two examples. X.Time in
the first case and Time.1 in the second case.
> transform(BOD, X = BOD[1:2] * seq(6))
Time demand X.Time X.demand
1 1 8.3 1 8.3
2 2 10.3 4 20.6
3 3 19.0 9 57.0
4 4 16.0 16 64.0
5 5 15.6 25 78.0
6 7 19.8 42 118.8
>
2018 Aug 15
5
validspamobject?
Greetings,
My R package has been showing warnings of the form:
`validspamobject()` is deprecated. Use `validate_spam()` directly
None of my code uses the function validspamobject, so it must be a problem
in another package I'm calling, possibly spam or spdep. Has this problem
occurred with other people? It doesn't have any deleterious effect, but
it's annoying. In particular,
2018 Sep 14
3
Bug when calling system/system2 (and request for Bugzilla account)
Hi all,
I found some strange behaviour, which I think is a bug. Could someone make an account for me on Bugzilla or pass on my report?
The problem:
When pressing Ctrl-C when a file is sourced in R, run from Terminal (macOS), sometimes the entire session is ended right away, while I just want to stop the script. This is the case when I press Ctrl-C while some functions are running that don?t
2018 Oct 02
1
Relevel confusing with numeric value
Something that bit me:
The function relevel takes a factor, and a reference level to be promoted to the first place.
If ?ref? is a character this level is promoted, if it?s a numeric the ?ref?-th level is promoted.
Which turns out to be very confusing if you have factor with numeric values (e.g. when reading in a csv with some dirty numeric columns and stringsAsFactors TRUE)
For example:
2018 Jul 24
2
oddity in transform
The idea is that one wants to write the line of code below
in a general way which works the same
whether you specify ix as one column or multiple columns but the naming entirely
changes when you do this and BOD[, 1] and transform(BOD, X=..., Y=...) or
other hard coding solutions still require writing multiple cases.
ix <- 1:2
transform(BOD, X = BOD[ix] * seq(6))
On Tue, Jul 24, 2018 at
2018 Sep 14
2
Bug when calling system/system2 (and request for Bugzilla account)
I hope it's not too specific in my setup...
I've tried with system2 added on the first line, so:
Example.R:
system2('ls', timeout=5)
cat('Start non-interruptable functions\n')
sample_a <- sample(1:1e7)
sample_b <- sample(1:2e7)
matching <- match(sample_a, sample_b)
cat('Finished\n')
Sys.sleep(10)
And in terminal/bash:
R --vanilla
2018 Aug 29
7
ROBUSTNESS: x || y and x && y to give warning/error if length(x) != 1 or length(y) != 1
# Issue
'x || y' performs 'x[1] || y' for length(x) > 1. For instance (here
using R 3.5.1),
> c(TRUE, TRUE) || FALSE
[1] TRUE
> c(TRUE, FALSE) || FALSE
[1] TRUE
> c(TRUE, NA) || FALSE
[1] TRUE
> c(FALSE, TRUE) || FALSE
[1] FALSE
This property is symmetric in LHS and RHS (i.e. 'y || x' behaves the
same) and it also applies to 'x && y'.
2004 Oct 19
1
lapack test failed (PR#7294)
Hallo,
I've just installed R on our Opteron System (AMD Opteron 246). Running make check-all
results in a failure during the lapack test:
> ## ------- tests of random real and complex matrices ------
>
> ## 100 may cause failures here.
> eigenok <- function(A, E, Eps=1000*.Machine$double.eps)
+ {
+ V <- E$vect; lam <- E$values
+
2018 Jun 09
4
Date class shows Inf as NA; this confuses the use of is.na()
And now I've seen I copied the wrong part of ?is.na
> The default method for is.na applied to an atomic vector returns a
logical vector of the same length as its argument x, containing TRUE for
those elements marked NA or, for numeric or complex vectors, NaN, and FALSE
otherwise.
Key point being "atomic vector" here.
On Sat, Jun 9, 2018 at 1:41 PM, Joris Meys <jorismeys at
2001 Dec 05
1
Desperately trying to build a wine.conf
Hi there,
I am desperately trying to build a suitable wine.conf, but somehow I just
don't manage to. I have been reading through different wine documentation
and help pages.
I used winecheck to try to figure out what is wrong. However, winecheck
tells me constantly that I have to configure the paths of my drives in a
special way: /my/mount/point. I tried to apply that (of course not
2018 Oct 15
4
sys.call() inside replacement functions incorrectly returns *tmp*
Kia Ora
Let's say we have:
"myreplacementfunction<-" = function (..., value)
{ call = sys.call ()
print (as.list (call) )
0
}
Then we call:
x = 0
myreplacementfunction (x, y, z) = 0
It will return:
[[1]]
`myreplacementfunction<-`
[[2]]
`*tmp*`
[[3]]
y
[[4]]
z
$value
<promise: 0x06fb6968>
There's two problems here.
Firstly, x has to be defined otherwise we
2018 Jul 30
5
apply with zero-row matrix
Forgive me if this has been asked many times before, but I couldn't find
anything on the mailing lists.
I'd expect apply(m, 1, foo) not to call `foo` if m is a matrix with zero
rows.
In fact:
m <- matrix(NA, 0, 5)
apply(m, 1, function (x) {cat("Called...\n"); print(x)})
## Called...
## [1] FALSE FALSE FALSE FALSE FALSE
Similarly for apply(m, 2,...) if m has no columns.
Is
2019 Dec 19
1
ALTREP string methods for substr and nchar
A useful extension of ALTREP is having two new string methods which
return the number of characters of a given string element and to
return a substring of an element.
Having these methods would allow retrieving these values without
needing to create a CHARSXP for the full element data, which could
potentially be costly for long elements.
For example say you have an ALTREP altstring vector where
2006 Nov 04
1
BackgrounDRb Call for help
Hey there bdrb''ers!
I have been so very busy with http://engineyard.com that I have not
had time to complete the new release of backgroundrb. But I have done
substantial work towards it. It is basically an entirely new beast
with a complete rethinking of how it works. I have put up a zip file
of the new code base in the hopes that some folks will be able to
start playing with
2012 Jan 19
2
Problems sending email direct into publich folders
Hi,
i want to send mails direct into a public folder. If i send an email via my local postfix the mail will be handled as a normal private mail. Dovecot does create a mailbox in the private Namespace and do use not the mailbox in public one.
I hope you can help me with my little problem.
Here sone informations about my configuration:
[root at imap1 etc]# ls -la /var/dovecot/imap/public/
2018 Aug 15
0
validspamobject?
Hello,
If you want to determine where the warning is generated, I think it's easiest to run R with options(warn=2).
In that case all warnings are converted to errors, and you have more debugging tools, e.g. you can run traceback() to see the calling stack, or use options(error=recover).
Hope you can catch it.
Best regards,
Emil Bode
is an institute of the Dutch Academy KNAW