Skip to content
This repository has been archived by the owner on Aug 30, 2019. It is now read-only.

generated zipfile contents do not have file permissions set #11

Open
ccheetham opened this issue Aug 20, 2019 · 0 comments
Open

generated zipfile contents do not have file permissions set #11

ccheetham opened this issue Aug 20, 2019 · 0 comments

Comments

@ccheetham
Copy link

More specifically, on OSX/Linux the permissions are 000.

Example:

% curl https://startsteeltoe.cfapps.io/starter.zip > foo.zip
% unzip foo.zip
Archive:  foo.zip
  inflating: Dockerfile
  inflating: Program.cs
  inflating: steeltoeProject.csproj
  inflating: Startup.cs
  inflating: app.config
  inflating: appsettings.Development.json
  inflating: appsettings.json
  inflating: mustache.json
  inflating: sourceExclusions.json
  inflating: versions.props
  inflating: Controllers/ValuesController.cs
  inflating: Properties/launchSettings.json
% ls -l
total 17
drwxr-xr-x 2 ccheetham qa    3 Aug 20 11:07 Controllers/
drwxr-xr-x 2 ccheetham qa    3 Aug 20 11:07 Properties/
---------- 1 ccheetham qa  128 Aug 20  2019 app.config
---------- 1 ccheetham qa  137 Aug 20  2019 appsettings.Development.json
---------- 1 ccheetham qa   99 Aug 20  2019 appsettings.json
---------- 1 ccheetham qa  485 Aug 20  2019 Dockerfile
-rw-r--r-- 1 ccheetham qa 4729 Aug 20 11:07 foo.zip
---------- 1 ccheetham qa 4459 Aug 20  2019 mustache.json
---------- 1 ccheetham qa  819 Aug 20  2019 Program.cs
---------- 1 ccheetham qa   31 Aug 20  2019 sourceExclusions.json
---------- 1 ccheetham qa 1165 Aug 20  2019 Startup.cs
---------- 1 ccheetham qa  364 Aug 20  2019 steeltoeProject.csproj
---------- 1 ccheetham qa  695 Aug 20  2019 versions.props

Should be something like:

% ls -l
total 49
drwxr-xr-x 2 ccheetham qa    3 Aug 20 11:07 Controllers/
drwxr-xr-x 2 ccheetham qa    3 Aug 20 11:07 Properties/
-rw-r--r-- 1 ccheetham qa  128 Aug 20  2019 app.config
-rw-r--r-- 1 ccheetham qa  137 Aug 20  2019 appsettings.Development.json
-rw-r--r-- 1 ccheetham qa   99 Aug 20  2019 appsettings.json
-rw-r--r-- 1 ccheetham qa  485 Aug 20  2019 Dockerfile
-rw-r--r-- 1 ccheetham qa 4729 Aug 20 11:07 foo.zip
-rw-r--r-- 1 ccheetham qa 4459 Aug 20  2019 mustache.json
-rw-r--r-- 1 ccheetham qa  819 Aug 20  2019 Program.cs
-rw-r--r-- 1 ccheetham qa   31 Aug 20  2019 sourceExclusions.json
-rw-r--r-- 1 ccheetham qa 1165 Aug 20 11:09 Startup.cs
-rw-r--r-- 1 ccheetham qa  364 Aug 20 11:09 steeltoeProject.csproj
-rw-r--r-- 1 ccheetham qa  695 Aug 20  2019 versions.props
@ccheetham ccheetham changed the title enerated zipfile contents do not have file permissions set generated zipfile contents do not have file permissions set Aug 20, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant