Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 21 - 30 of 39 for symlinks (0.07 seconds)

  1. CHANGELOG/CHANGELOG-1.13.md

    * kubectl cp now safely allows unpacking of symlinks that may point outside the destination directory ([#82384](https://github.com/kubernetes/kubernetes/pull/82384), [@tallclair](https://github.com/tallclair))
    Created: Fri Apr 03 09:05:14 GMT 2026
    - Last Modified: Thu May 05 13:44:43 GMT 2022
    - 273.1K bytes
    - Click Count (0)
  2. CHANGELOG/CHANGELOG-1.15.md

    * openapi now advertises correctly supported patch types for custom resources ([#81515](https://github.com/kubernetes/kubernetes/pull/81515), [@liggitt](https://github.com/liggitt))
    * kubectl cp now safely allows unpacking of symlinks that may point outside the destination directory ([#82384](https://github.com/kubernetes/kubernetes/pull/82384), [@tallclair](https://github.com/tallclair))
    Created: Fri Apr 03 09:05:14 GMT 2026
    - Last Modified: Thu May 05 13:44:43 GMT 2022
    - 278.9K bytes
    - Click Count (0)
  3. cmd/os-readdir-common.go

    package cmd
    
    // Options for readDir function call
    type readDirOpts struct {
    	// The maximum number of entries to return
    	count int
    	// Follow directory symlink
    	followDirSymlink bool
    }
    
    // Return all the entries at the directory dirPath.
    func readDir(dirPath string) (entries []string, err error) {
    	return readDirWithOpts(dirPath, readDirOpts{count: -1})
    }
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Jul 09 23:20:51 GMT 2021
    - 1.3K bytes
    - Click Count (0)
  4. guava-tests/test/com/google/common/reflect/ClassPathTest.java

                      .scanResources())
              .hasSize(1);
        } finally {
          jarFile.delete();
        }
      }
    
      @AndroidIncompatible // Path (for symlink creation)
    
      public void testScanDirectory_symlinkCycle() throws IOException {
        if (isWindows()) {
          return; // TODO: b/136041958 - Can we detect cycles under Windows?
        }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 25.8K bytes
    - Click Count (0)
  5. internal/mountinfo/mountinfo_linux.go

    )
    
    // IsLikelyMountPoint determines if a directory is a mountpoint.
    func IsLikelyMountPoint(path string) bool {
    	s1, err := os.Lstat(path)
    	if err != nil {
    		return false
    	}
    
    	// A symlink can never be a mount point
    	if s1.Mode()&os.ModeSymlink != 0 {
    		return false
    	}
    
    	s2, err := os.Lstat(filepath.Dir(strings.TrimSuffix(path, "/")))
    	if err != nil {
    		return false
    	}
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue Feb 18 16:25:55 GMT 2025
    - 4.7K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/job/IndexExportJobTest.java

            assertNotNull(result);
            assertTrue(result.normalize().startsWith(tempDir.normalize()), "Path must stay within base directory: " + result);
        }
    
        // --- symlink traversal prevention tests ---
    
        @Test
        public void test_exportDocument_symlinkIntermediateDir() throws Exception {
            final Path outsideDir = Files.createTempDirectory("outside");
            try {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Mar 15 09:08:38 GMT 2026
    - 66.1K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/job/IndexExportJob.java

                Files.createDirectories(filePath.getParent());
                final Path realParent = filePath.getParent().toRealPath();
                if (!realParent.startsWith(realBase)) {
                    logger.warn("Symlink traversal detected: url={}, realParent={}, realBase={}", url, realParent, realBase);
                    return;
                }
                final byte[] bytes = content.getBytes(StandardCharsets.UTF_8);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 02:24:08 GMT 2026
    - 10.8K bytes
    - Click Count (0)
  8. cmd/sftp-server-driver.go

    	stopFn := globalSftpMetrics.log(r, f.AccessKey())
    	defer stopFn(0, err)
    
    	clnt, err := f.getMinIOClient()
    	if err != nil {
    		return err
    	}
    
    	switch r.Method {
    	case "Setstat", "Rename", "Link", "Symlink":
    		return sftp.ErrSSHFxOpUnsupported
    
    	case "Rmdir":
    		bucket, prefix := path2BucketObject(r.Filepath)
    		if bucket == "" {
    			return errors.New("deleting all buckets not allowed")
    		}
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Mon Feb 10 16:35:49 GMT 2025
    - 11.6K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/io/Files.java

       * </ul>
       *
       * <p>These heuristics do not always match the behavior of the filesystem. In particular, consider
       * the path {@code a/../b}, which {@code simplifyPath} will change to {@code b}. If {@code a} is a
       * symlink to {@code x}, {@code a/../b} may refer to a sibling of {@code x}, rather than the
       * sibling of {@code a} referred to by {@code b}.
       *
       * @since 11.0
       */
      public static String simplifyPath(String pathname) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Jan 05 22:13:21 GMT 2026
    - 32.8K bytes
    - Click Count (0)
  10. CHANGELOG/CHANGELOG-1.11.md

    * CRI now defines mounting behavior. If the host path doesn't exist, the runtime should return an error. If the host path is a symlink, the runtime should follow the symlink and mount the real destination to the container. ([#61460](https://github.com/kubernetes/kubernetes/pull/61460), [@feiskyer](https://github.com/feiskyer))
    
    ### SIG OpenStack
    
    Created: Fri Apr 03 09:05:14 GMT 2026
    - Last Modified: Thu Feb 06 06:04:15 GMT 2020
    - 328.4K bytes
    - Click Count (0)
Back to Top