similar to: Ownership and permissions when syncing directory contents

Displaying 20 results from an estimated 10000 matches similar to: "Ownership and permissions when syncing directory contents"

2007 Mar 04
1
Problem using callNextMethod() in S4
Dear all, Maybe, I am doing something wrong, but using R-2.5.0 on my Intel-Mac, I have problems using function callNextMethod() in method initialize. I am loading the following code as file "testS4.R": setClass("baseClass", representation(myname = "character", mydir = "character", "VIRTUAL"),
2009 Jul 04
4
Rsync with spaces in source or destination path
Hi, I am trying to transfer a file that has spaces in its name. The rsync gives me below error. Am I doing anything wrong? #ls -l /tmp/test\ file -rw-rw-r-- 1 xxx xxx 0 Jul 5 02:23 /tmp//test file # /usr/local/bin/rsync --archive /u/masanip/ACH/test\\\ file /tmp/mydir/ rsync: link_stat "/tmp/test\ file" failed: No such file or directory (2) Number of files: 0 Number of
2002 Feb 11
1
problem getting just a single dir !
I am trying to fetch a single dir using the following command but all I get is a empty dir: rsync -av www.myServer.com::myStuff --include=myDir --exclude=* . Here is the rsync output: receiving file list ... done myDir/ ./ wrote 119 bytes read 392 bytes 92.91 bytes/sec total size is 0 speedup is 0.00 The command looks simple and straight forward but somehow I am not getting the expected
2002 Mar 12
2
problem with environment detecting
Hello! I want to detect some environment on a remote host (in C program, getenv()), but it is failed. Here is a little program which I try to run on a remote host with command: "#ssh myhost myecho" /* myecho */ #include <stdio.h> main (){ char *dir; if ((dir = getenv("MYDIR")) != NULL) printf ("environment is %s\n",dir);
2006 Aug 01
2
deleting a directory
Hi, all, I'm looking a utility for removing a directory from within R. Currently, I'm using: foo <- function(...) { mydir <- tempdir() dir.create(mydir, showWarnings = FALSE, recursive = TRUE) on.exit(system(sprintf("rm -rf %s", mydir))) ## do some stuff in "mydir" invisible() } However, this is assumes "rm" is available. I know of
2005 Dec 06
1
Proposed enhancements to rsync filters
I would like to propose some improvements to rsync's filters. (1) Add a notation that makes a pattern match both a file and everything under it if it happens to be a directory. One possibility: ending a path in //. "+ mydir//" would be equivalent to "+ mydir" "+ mydir/**". Just some syntactic sugar. (2) Add a third sender behavior to "hide" and
2013 May 21
1
R CMD check: unknown option ?--outdir==RCHECK?
Hi, I believe this is kind of a long standing bug though. In R-3.0.1, but this also happened in previous versions, the long version '--outdir' is not recognised: For `R CMD check --outdir=mydir pkg_0.1.tar.gz` we get: Warning: unknown option ‘--outdir=mydir’ But with `R CMD check -o mydir pkg_0.1.tar.gz` we get: * using log directory ‘/home/renaud/Documents/projects/mydir/pkg.Rcheck’
2003 Feb 28
2
File opening error after 1020 files opened
Hi, I am trying to use "read.pnm" from the package "pixmap" to read more than 10 thousand image files in "mydir". > file.list <- dir( "mydir", full=T) > for( i in 1:length(file.list) ) { print(i) x <- read.pnm(file.list[i]) } In the beginning it was fine. But after reading 1020 images or so, the read.pnm function seems to crash on
2009 Aug 03
1
the protect flag - P doesn't work with --relative option ?
Hi, Basically, I want to preserve some of directories on destination side conditionally and hence, I choose to use --filter option mentioned in rsync man pages. I noticed that --filter option works as expected when I don't have --relative option used but in below case it doesn't work. rsync -avz --relative --delete --filter='H /mydir2' --exclude='- /preserve' mydir1/.
2012 Feb 15
1
Passing date as parameter while retrieving data from database using dbGetQuery
Hi All, This might be simple question, I need to retrive data for modelling from the databases. Eveytime date values changes so I countnot fix date value in the code, it is required to pass as parameter. When I pass the date as parameter, it throws error. (ERROR: column "start_dt" does not exist Position: 285) My script is as below, please guide me where am I going wrong? All parameters
2001 Dec 03
1
New package: g.data
A new package "g.data" is available on CRAN, to create and maintain databases that work more like the S-Plus model. Here's the official Description for g.data (v1.2): Create and maintain delayed-data packages (DDP's). Data stored in a DDP are available on demand, but do not take up memory until requested. You attach a DDP with g.data.attach(), then read from it and assign
2001 Dec 03
1
New package: g.data
A new package "g.data" is available on CRAN, to create and maintain databases that work more like the S-Plus model. Here's the official Description for g.data (v1.2): Create and maintain delayed-data packages (DDP's). Data stored in a DDP are available on demand, but do not take up memory until requested. You attach a DDP with g.data.attach(), then read from it and assign
2004 Jan 15
1
Ownership lost: linux -> windows -> linux
Hi, I have a problem of loss of file ownership with rsync. For some odd reasons, I have to use a windows machine as rsync server, and to backup/restore a filesystem from/to a linux client. All files in my linux filesystem are owned by root, with gid root. If I save the files onto the windows rsync server from linux using rsync, and then restore them back to linux, the ownership for all files
2016 Dec 27
2
Help with httpd userdir recovery
I lost my harddrive on my little personal webserver that only serves some private files from my userdir. So I am trying to build this from notes on a new Centos7.3 installation (well really Centos7.3-arm, but supposedly same sources). Right now the server is running on a test subnet, not the production, but I have set up the hostname and my standard httpd edits. I have enabled userdir and
2011 Mar 19
1
Can't disable chroot to 'empty' dir, but need to... how to do it?
Hello all... I've installed dovecot on my ISP's shell server, and am using SSH tunnelling so that I can retrieve my mbox-format mail from procmail-processed mailboxes on that server (normally I just ssh there and read them locally with pine, but now that I have a phone with an IMAP client, I wanted to be able to read it more easily there). The problem I'm having is, although it's
2006 Aug 05
2
Computer 1A question
I want to delete all files that have the pattern of "*.zip" in the directory /home/mydir and all sub-directories. rm -Rf /home/mydir/*.zip produces an error. What did I overlook? Thanks..... -- Ariste Software 2200 D Street Ext Petaluma, CA 94952 (707) 773-4523
2016 Dec 27
4
Help with httpd userdir recovery
On 12/27/2016 11:48 AM, Leonard den Ottolander wrote: > Hello Robert, > > On Tue, 2016-12-27 at 10:25 -0500, Robert Moskowitz wrote: >> I can display the /home/rgm/public_html/index.html file that only has >> "Hello World' in it (to prevent anyone from walking my file tree from >> the root). > To prevent people walking a directory structure you better disable
2003 Jan 07
1
Bug or feature? --delete-after + symlinks
Hi, sorry if this is old stuff, but I did my best to look first... Have been getting errors along these lines: mv mydir mdir.2002 ln -s mydir.2002 mydir Then update mirror with rsync -av --delete-after. Without --delete-after, no problem, with --delete-after, get a code 23. The attached shell script will recreate the error (on my machine, at any rate). Just run it from a clean directory.
2004 Oct 28
1
Remote file deletion
I've a particular situation in which I need to sometimes delete one or two files from a remote site. I haven't figured out a way to do it with rsync yet... I've considered playing games with --exclude and --delete but I'm a bit nervous of the chances of mayhem by a simple error. Situation is a remote repository to which files are added on occasion; there is no local copy. On
2005 Sep 19
1
stale name lookup result
I am running a Samba 3.0.10 server on freeBSD and 3.0.10-Debian client. I just had a perplexing problem. The client is a laptop and moves about different samba networks. My home computer's name (Unix hostname and samba name) is 'ocean'. When I'm at home I run smbmount //ocean/mydir /mnt/samba/ocean/mydir -o <options> Normally this is fine. I've been running the