Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for IsExecOwner (0.31 sec)

  1. tools/docker-builder/builder/tar.go

    				return err
    			}
    			// work around some weirdness, without this we wind up with just the basename
    			header.Name = dest
    			if isDir {
    				header.Name = filepath.Join(dest, rel)
    			}
    
    			if IsExecOwner(info.Mode()) {
    				header.Mode = 0o755
    			} else {
    				header.Mode = 0o644
    			}
    			header.Uid = 0
    			header.Gid = 0
    
    			// TODO: if we want reproducible builds we can fake the timestamps here
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Apr 29 17:01:46 UTC 2022
    - 3.7K bytes
    - Viewed (0)
Back to top