update-devtable.py: fix permissions for user home directory

This commit is contained in:
K. Lange 2018-10-10 10:09:49 +09:00
parent 5cec6037ee
commit aa6328f474
1 changed files with 1 additions and 0 deletions

View File

@ -23,6 +23,7 @@ with open('util/devtable','w') as devtable:
# Copy permissions and set ownership for user files
for user_details in [('local',1000)]:
user, uid = user_details
devtable.write('/home/{user} d 755 {uid} {uid} - - - - -\n'.format(user=user,uid=uid))
for path in getPaths('./base/home/{user}'.format(user=user)):
p = Path(path)
path_mod = path.replace('./base','').rstrip('/')