exploring create image permissions problems

This commit is contained in:
Stephen Gaito 2020-06-11 09:27:47 +01:00
parent c10efe8ece
commit 501b73b489
2 changed files with 4 additions and 4 deletions

View File

@ -96,11 +96,11 @@ cd imageBuild
#
# Make sure directories can be traversed by nobody
#
find debianDir -type d -exec chmod 755 {} \;
#find debianDir -type d -exec chmod 755 {} \;
#
# Make sure files can be read by nobody
#
find debianDir -type f -exec chmod 644 {} \;
#find debianDir -type f -exec chmod 644 {} \;
#
# Make sure root:root owns all files
#

View File

@ -37,11 +37,11 @@ copy_deps
# Make sure directories can be traversed by nobody
#
find . -type d -exec chmod 755 {} \;
#find . -type d -exec chmod 755 {} \;
#
# Make sure files can be read by nobody
#
find . -type f -exec chmod 644 {} \;
#find . -type f -exec chmod 644 {} \;
# Now. IF we have docker, THEN build the docker image...