search for: subdir1

Displaying 20 results from an estimated 21 matches for "subdir1".

Did you mean: subdir
2004 Jul 19
1
Rsync: Directories become Symbolic Links
Hi all, I have rsync'ed directory /rootdir/dirdir/ from Server1 to Server2, using cmd on Server2 "rsync Server1:/rootdir/dirdir -avz /rootdir/dirdir". There were some sub-directories from Server1 got updated to become the symbolic links. For example, directory /rootdir/dirdir/subdir1/ now becomes the symbolic link /rootdir/dirdir/subdir1 pointing to the new created directory /rootdir/dirdir/subdir2/: Before: Server1 % ls -ld /rootdir/dirdir/subdir1 drwx-xr-x 3 vhuynh 512 Jul 12 2001 subdir1 After: Server1 % ls -ld /rootdir/dirdir/subdir1 lrwxrwxrwx 1 vhuynh...
2020 Sep 01
2
Unable to create subdirectories/files in samba mount when using vfs objects = glusterfs
...lient1 /]# df -h /smbshare32 Filesystem Size Used Avail Use% Mounted on //10.4.0.31/gluster-smbshare32 600G 6.1G 594G 2% /smbshare32 [root at sclient1 /]# [root at sclient1 /]# cd /smbshare32 [root at sclient1 smbshare32]# ls [root at sclient1 smbshare32]# mkdir subdir1 [root at sclient1 smbshare32]# touch a [root at sclient1 smbshare32]# ls a subdir1 [root at sclient1 smbshare32]# When I switch to subdir1, I cannot create files or directories. Same issue happens on windows , but I get a different error message it says ?the file ? ? is too large for the...
2016 Jan 16
0
[PATCH v2, resend] ignore-non-existing-directory: add variant of ignore-non-existing
...n-existing-directory.test new file mode 100644 index 0000000..971ee20 --- /dev/null +++ b/testsuite/ignore-non-existing-directory.test @@ -0,0 +1,47 @@ +#! /bin/sh + +# This program is distributable under the terms of the GNU GPL (see +# COPYING). + +. $suitedir/rsync.fns + +makepath "$fromdir/subdir1" "$fromdir/subdir2" "$todir/subdir1" +echo data >"$fromdir/subdir1/file" +echo data >"$todir/subdir1/file2" +echo data >"$fromdir/subdir2/file" + +# Test 1: Ensure subdir2 and content under it are not created +$RSYNC -r --ignore-non-ex...
2015 Nov 28
0
[PATCH v2] ignore-non-existing-directory: add variant of ignore-non-existing
...n-existing-directory.test new file mode 100644 index 0000000..971ee20 --- /dev/null +++ b/testsuite/ignore-non-existing-directory.test @@ -0,0 +1,47 @@ +#! /bin/sh + +# This program is distributable under the terms of the GNU GPL (see +# COPYING). + +. $suitedir/rsync.fns + +makepath "$fromdir/subdir1" "$fromdir/subdir2" "$todir/subdir1" +echo data >"$fromdir/subdir1/file" +echo data >"$todir/subdir1/file2" +echo data >"$fromdir/subdir2/file" + +# Test 1: Ensure subdir2 and content under it are not created +$RSYNC -r --ignore-non-ex...
2006 Jul 12
5
2 subdirectories 1 controller?
Hi, I''d like to create the following setup with RoR: www.mywebsite.com/subdir1/order/create www.mywebsite.com/subdir2/order/create I''d like both urls to call the same action in the same controller. How can I do this? I know this may be complicated, but I''m prepared to go a long way. Shimon -------------- next part -------------- An HTML attachment was sc...
2020 Sep 01
0
Unable to create subdirectories/files in samba mount when using vfs objects = glusterfs
...sclient1 /]# df -h /smbshare32 Filesystem Size Used Avail Use% Mounted on //10.4.0.31/gluster-smbshare32 600G 6.1G 594G 2% /smbshare32 [root at sclient1 /]# [root at sclient1 /]# cd /smbshare32 [root at sclient1 smbshare32]# ls [root at sclient1 smbshare32]# mkdir subdir1 [root at sclient1 smbshare32]# touch a [root at sclient1 smbshare32]# ls *a* *subdir1* [root at sclient1 smbshare32]# When I switch to subdir1, I cannot create files or directories. Same issue happens on windows , but I get a different error message it says ?the file ? ? is too large for th...
2007 Dec 16
1
Change destination root?
I'm wondering if it's possible to do the following. I've got a source directory of /data with several subdirectories such as subdir1/ subdir2/ subdir3/ , etc. I'd like to rsync these to a different host under directory /backup, so that I have paths /backup/subdir1, /backup/subdir2, etc. I also need to be able to use the option --files-from. So, a source dir of /data on host1, with a --files-from file containing: subdir1 su...
2015 Nov 28
0
[PATCH] ignore-non-existing-directory: add variant of ignore-non-existing
...n-existing-directory.test new file mode 100644 index 0000000..06292d3 --- /dev/null +++ b/testsuite/ignore-non-existing-directory.test @@ -0,0 +1,26 @@ +#! /bin/sh + +# This program is distributable under the terms of the GNU GPL (see +# COPYING). + +. $suitedir/rsync.fns + +makepath "$fromdir/subdir1" "$fromdir/subdir2" "$todir/subdir1" +echo data >"$fromdir/subdir1/file" +echo data >"$fromdir/subdir2/file" + +# Test 1: Ensure subdir2 and content under it are not created +echo $RSYNC -ar --ignore-non-existing-directory -vvv "$fromdir/&quot...
2023 Feb 14
1
File\Directory not healing
I guess you didn't receive my last e-mail. Use getfattr and identify if the gfid mismatch. If yes, move away the mismatched one. In order a dir to heal, you have to fix all files inside it before it can be healed. Best Regards, Strahil Nikolov ? ???????, 14 ???????? 2023 ?., 14:04:31 ?. ???????+2, David Dolan <daithidolan at gmail.com> ??????: I've touched the directory one
2002 Dec 24
1
Persmissions on 'root' folder
Hi, I'd like to accomplish te following but can't seem to find how: Share1 subdir1 subdir2 Share 1 that is connected by our Windows clients, should NOT be writable directly. This means, nobody (except a specified group/user?) should be able to create a top-level folder or file in this share. Write and execute rights through the subdir1 and subdir2 should however be left alone...
2011 Jan 23
3
tar-ing subdirectories separately
I want to backup a directory using tar, but want separate tarballs for each subdirectory. For example: # ls dir1 subdir1 subdir2 subdir3 Will it possible to do it using only tar command? Or will I need another separate piece of logic/control? I thought of writing a shell script with three tar commands for each subdirectory, but that's not elegant way of doing it. Also, it may not scale as number of subdirectorie...
2016 Mar 17
1
[Bug 11800] New: smarter "safe" symlink detection
...Assignee: wayned at samba.org Reporter: world.locus at gmail.com QA Contact: rsync-qa at samba.org Hi, We are using --copy-unsafe-links to sync a complex file/directory tree that spans over multiple nfs drives to another site. However, --copy-unsafe-links considers the following subdir1_link symlink as "unsafe": /nfs/dir1/subdir1/ |-- file1 |-- subdir1_link -> /nfs/dir1/subdir1 `-- subdir2 `-- file2 subdir1_link is detected as unsafe and therefore its content is synced over and over and therefore we get the following: /nfs/dir1/subdir1/subdir1_link/subdir1_lin...
2006 Aug 03
0
Problem using smbfs with large directory
Hello !!! I am using smbfs to connect a windows shared directory. Most time everything works fine, but there is something that happens once in a while The mentioned directory is divided in subdirectories. Let's suppose the directory tree is: DIR1 SUBDIR1 SUBDIR2 The mount point /mnt/dx is connected to DIR1. If I give the command: "ls /mnt/dx" in a command-line shell prompt, I received the list of file and directories inside DIR1 correctly. if I give the command: "ls /mnt/dx/SUBDIR1" everything works fine as well. How...
2010 Jul 28
2
wget and resulting filenames with mirror option
I am trying to mirror a directory using wget and the resulting files as expected are taking the name of the string in the url after the last "/". Anyone know a way around this? I am using the mirror option so I don't have to keep track of what to get making it simple. Thanks! jlc
2004 Mar 22
0
samba and symlinks
...rk 10 Mar 21 16:04 /tmp/test -> TEST/test/ bash-2.05b$ ls -lR /tmp/TEST /tmp/TEST: drwxr-xr-x 4 mark mark 100 Mar 21 11:13 test /tmp/TEST/test: drwxr-xr-x 2 mark mark 40 Mar 21 11:13 directory -rw-r--r-- 1 mark mark 0 Mar 21 11:13 file drwxr-xr-x 3 mark mark 60 Mar 21 11:13 subdir1 /tmp/TEST/test/directory: /tmp/TEST/test/subdir1: drwxr-xr-x 2 mark mark 240 Mar 21 11:19 subdir2 /tmp/TEST/test/subdir1/subdir2: lrwxrwxrwx 1 mark mark 5 Mar 21 16:04 badlinktoetc_1 -> /etc/ lrwxrwxrwx 1 mark mark 40 Mar 21 16:04 badlinktoetc_2 -> ../../../../../../....
2008 Nov 27
1
Inheritance of ACLs with Samba
...<not inherited> This folder, subfolders and files Allow Pencil Read & Execute <not inherited> This folder, subfolders and files Allow Designers Read & Execute <not inherited> This folder, subfolders and files I now create "subdir1" inside "dir" and this is what I get: Type Name Permission Inherited from Apply to --------------------------------------------------------------------------------------- Allow Admin Full Control \\testserver\admin\dir This folder, subfolder...
2015 Apr 23
3
CentOS 7 NFS client problems
...ser on the client machine is unable to perform various operations. (The operations work when logged into the server.) $ whoami joe $ cd /nfs $ ls -l drwx------. 6 joe joe 4096 Apr 23 11:20 one drwxr-xr-x. 4 joe joe 4096 Dec 14 2011 two $ cd one one: Permission denied. $ cd two $ ls subdir1 subdir2 $ touch testfile touch: cannot touch testfile: Permission denied mount(1) shows that the filesystem is mounted rw. The server has it exported rw to the entire subnet. Other machines (CentOS 5) mount the same filesystems without a problem. Looks a lot like an idmapd issue, right? On the...
2020 Feb 28
0
doveadm acl recursive
...rs. There is no option for acting recursive. But the documentation says wildcards can be given on the mailbox name. But this doesn't work. No matter how the mailbox name is provided with a wildcard, doveadm always tells Mailbox doesn't exist. Folder example: public/project1 public/project1/subdir1 public/project1/subdir2 public/project1/subdir2/subsubdir3 Setting acl on the given mailbox works for all of them. But how can I set for "public/project1" and all its subfolders in one command? Even "doveadm mailbox list" gives the error above when using wildcard. (I also trie...
2003 Sep 22
0
multiple permissioning for same user in username.map
...e) to NT / 2K . I also have a number of NT / AD service accounts that need to connect through to different directories within my samba tree, and need to usermap the very long ADS names through to a local account on the samba server, typically an example would be; [foo] path = /toplevel/subdir1 valid users = localacc, some_service_account_from_ads_domain1, some_service_account_from_ads_domain1 guest ok = no writeable = yes [otherfoo] path = /toplevel/subdir2 valid users = localac2, some_service_account_from_ads_domain1, some_service_account_from_a...
2015 Apr 24
0
CentOS 7 NFS client problems
...s. (The operations work when logged into > the server.) > > $ whoami > joe > $ cd /nfs > $ ls -l > drwx------. 6 joe joe 4096 Apr 23 11:20 one > drwxr-xr-x. 4 joe joe 4096 Dec 14 2011 two > $ cd one > one: Permission denied. > $ cd two > $ ls > subdir1 subdir2 > $ touch testfile > touch: cannot touch testfile: Permission denied > > mount(1) shows that the filesystem is mounted rw. The server has it > exported rw to the entire subnet. Other machines (CentOS 5) mount > the same filesystems without a problem. > > Looks a lo...