similar to: bug in chdir option of source

Displaying 20 results from an estimated 30000 matches similar to: "bug in chdir option of source"

2005 Jun 15
1
source() chdir does not work (PR#7940)
Full_Name: Alex Galakhov Version: 2.1.0 OS: Linux (Debian) Submission from: (NULL) (195.19.131.68) After software upgrade source() does not work properly anymore. It completely ignores the chdir= parameter. This is because is.character(file) is always false after the assignment file<-file(file). The fix is (written by hand in diff-like syntax, hopefully, you'll understand it):
2005 May 16
2
a problem sourcing a file using chdir=TRUE
Dear R-users, I used to give commands such as: > source(file="~/path/to/file.R", chdir=TRUE) but with the latest v. 2.1.0 it does not seem to work anymore. I tried to figure out what it was going on and it seems that the string for which > class(file) [1] "character" is changed to > class(file) [1] "file" "connection" when the connection is
2005 Jul 19
1
Minor "bug" in source()
For R v2.1.1 patched and R v2.2.0 devel: Calling source(file, chdir=TRUE) with is.character(file) != TRUE, that is, with 'file' as a connection, will generate an error. Example: > file <- textConnection("cat('Hello world\n')") > source(file, chdir=TRUE) Error in source(file, chdir = TRUE) : Object "ofile" not found Of course, it does not make
2006 Mar 31
1
Can't chdir to directory on mapped share, no such directory?
I'm using cwRsync which incorporates rsync-2.6.7 with Cygwin. I've got it set up as a server and it works for local directories but when I try to set up a module with path /cygdrive/m/dirname it tells me that it can't chdir to that path, error 2, no such file or directory. I copied Cygwin mount and ls to the machine and mount reports that /cygdrive/m is indeed there, and ls can
2011 May 06
2
[Bug 1902] New: persistent mux master should chdir away from the current directory
https://bugzilla.mindrot.org/show_bug.cgi?id=1902 Summary: persistent mux master should chdir away from the current directory Product: Portable OpenSSH Version: 5.8p2 Platform: All OS/Version: All Status: NEW Severity: normal Priority: P2 Component: ssh AssignedTo:
2010 Jun 26
2
[PATCH] Fix COM32 chdir()
From: Gene Cumm <gene.cumm at gmail.com> Fix COM32 chdir() since it's implemented in the core. Signed-off-by: Gene Cumm <gene.cumm at gmail.com> --- diff --git a/com32/lib/chdir.c b/com32/lib/chdir.c index 6a365f3..4bd4c84 100644 --- a/com32/lib/chdir.c +++ b/com32/lib/chdir.c @@ -8,10 +8,5 @@ int chdir(const char *path) { - /* Actually implement something here... */ - -
2006 May 19
1
Fatal: chdir(/home/xxxxx) failed with uid xxx: Permission denied
I've had this issue for sometime, I finally gave up and switched to Courier-Imap but I'm finding I hate data storage / structure so I decided to give dovecot another go but am still running into the same issue. I had this working once upon a time and can not for the life of me figure it out. Here's some basic info. Dist: Gentoo 2005.1 Emerge Info: net-mail/dovecot-1.0_beta8
2013 Aug 18
3
missing chdir before chroot in guestfsd
daemon.c does just a chroot, without chdir. The result is that pwd does not work correctly (it causes fs/dcache.c:prepend_unreachable() to add the unreachable string). A workaround is to add "cd /" before each sh command. ><fs> mount /dev/sda2 / ><fs> sh "cd / ; chroot / ; /bin/pwd" / ><fs> sh "/bin/pwd" (unreachable)/ ><fs> sh
2005 Jun 27
2
Reconstructing LD function
Dear all, in an LDA analysis with n groups n-1 LD functions result. Implicitly this defines an LD fucntion for the last group. Does there exist code already to explictly construct this LD function? Thanks, Stefan
2009 Aug 31
2
Samba wants "chdir"
Hallo, one of my colleagues has problems with Samba (V 3.0.32). Samba runs on a Linux server (Slackware 2.6.29.6), some clients are attached via a Windows Terminalserver. Wiederum war auf dem Windows-TS 1(!) User in die Arktur3.6 -Dom?ne f?r ca 20 Minuten angemeldet und hat dabei ca 4400 Meldungen in die /var/log/messages geschrieben. Diese beginnen mit: (my bad translation: 1 client was
2007 Apr 03
2
chdir failed, but requires group permissions
Using Debian Etch package dovecot-common and dovecot-pop3d, based on 1.0.rc15-2 My home directories are set up with 770 permissions as follows: /home/<group name>/<user name> Using this method, users MUST be a member of the appropriate group to access their own home directory. If they are not, they can't chdir past /home. This appears to kill dovecot with a
2013 Jan 10
3
[Bug 2060] New: sshd tries to use chdir to users home directory as root
https://bugzilla.mindrot.org/show_bug.cgi?id=2060 Bug ID: 2060 Summary: sshd tries to use chdir to users home directory as root Classification: Unclassified Product: Portable OpenSSH Version: 6.1p1 Hardware: Sparc OS: Solaris Status: NEW Severity: normal Priority: P5
2004 Mar 19
1
chdir() on NFS
Hi, I'm having problems accessing home directories though NFS. This setup uses LDAP and Kerberos. Users defined on the local host work fine. This is what dovecot writes in the logs while trying to log in as the user johndoe: ---- Mar 19 14:10:54 jack dovecot-auth: nss_ldap: reconnecting to LDAP server... Mar 19 14:10:54 jack dovecot-auth: nss_ldap: reconnected to LDAP server after 1
2008 Apr 28
7
[Bug 1461] New: session.c: don't chdir() after chroot() if chroot_path==pw->pw_dir
https://bugzilla.mindrot.org/show_bug.cgi?id=1461 Summary: session.c: don't chdir() after chroot() if chroot_path==pw->pw_dir Classification: Unclassified Product: Portable OpenSSH Version: 5.0p1
2009 Oct 09
4
Fatal: chdir( ) failed: Permission denied
Hi Dovecot fails to chdir() into users home directory giving the following error: Oct 9 16:43:49 jura dovecot: dovecot: Fatal: chdir(/a/home/mina) failed: Permission denied (euid=1118 0(mina) egid=11332(devel) missing +x perm: /a/home) Oct 9 16:43:49 jura dovecot: dovecot: child 14441 (imap) returned error 89 (Fatal failure) The reason seems to be that user primary group is "devel"
2012 Dec 12
1
CHDIR Directive?
Perhaps it could be useful to have a "CHDIR" config-file directive? I'm thinking it'd override anything passed by config.c32. I'm also thinking it'd be a config-file-global, rather than a LABEL-specific, option. Then a config-file could set its own working directory without using config.c32 as an intermediate step. Does this seem like a reasonable feature to have? -
2007 Feb 13
1
Chdir Permission Denied
Here are the error messages I get when anyone tries to login. Feb 13 11:22:17 mail dovecot: chdir(/home/don150) failed with uid 776: Permission denied Feb 13 11:22:17 mail imap-login: Login: don150 [::ffff:192.168.146.10] Feb 13 11:22:17 mail dovecot: child 12101 (imap) returned error 89 I am not running SELinux so I'm not sure what is happening here. All was working fine this morning,
2008 Nov 19
1
chdir / chroot after pre-xfer ?
Hello, I am trying to configure rsyncd to mount destination encrypted FS (using EncFS) before syncing. In my rsyncd.conf : [test] path = /home/dest <...> pre-xfer exec = sleep 30 ; echo mypassword | encfs -S /home/ encrypteddir /home/dest ; sleep 30 (I have put "sleep 30" instructions just to make some tests) /home/encrypteddir is correctly mounted by rsyncd to /home/dest
2004 Nov 13
2
Fatal: chdir(homedir) failed: Permission denied
hello all i run dovecot as my imap server on my university and squirrel as webmail. But squirrel returns an error: ERROR : Connection dropped by imap-server CAPABILITY i tail my /var/log/dovecot and this is the output with whatever user i try to log in and view mails: dovecot: Nov 13 17:51:27 Fatal: chdir(/home/epp719) failed with uid 2975: Permission denied dovecot: Nov 13 17:51:27 Error:
2005 Sep 28
2
Permission denied: failed to chdir to /home/paul
Hi, I've been trying to set up Exin and Dovecot and think I've almost gotten there. However I'm not recieving mail to my inbox and I get messages like the following in /var/log/exim/main.log: 2005-09-28 04:14:47 1EKZtf-0003gQ-26 <= users-return-105525-paul= paulororke.net at openoffice.org H=s002.sfo.collab.net<http://s002.sfo.collab.net>( openoffice.org