-
Notifications
You must be signed in to change notification settings - Fork 95
VIB copy during build is copying files as root #637
Comments
I do not see this issue, here is what I tried, let me know what is different when you run into this.
|
These are the steps used, $ cd Build the plugin, administrator@hte-1s-eng-dhcp98: ...... ../misc/scripts/build.sh build Files under build are owned by root ~/vpl-new/docker-volume-vsphere$ ls -lR build |
This change in PR #702 fixes this, clean is run inside docker runs. |
The issue is seen on current TOT code. After the first build user needs to do a sudo rm each time before doing a make. The files copied under build are owned to root and hence the issue.
rm: cannot remove ‘../build/payloads/vmdkops/usr/lib/vmware/vmdkops/bin/vmdk_ops.py’: Permission denied
rm: cannot remove ‘../build/payloads/vmdkops/usr/lib/vmware/vmdkops/bin/vmdkops_admin.py’: Permission denied
rm: cannot remove ‘../build/payloads/vmdkops/usr/lib/vmware/vmdkops/bin/volume_kv.py’: Permission denied
rm: cannot remove ‘../build/payloads/vmdkops/usr/lib/vmware/vmdkops/bin/vsan_policy.py’: Permission denied
rm: cannot remove ‘../build/payloads/vmdkops/usr/lib/vmware/vmdkops/lib/libvmci_srv.so’: Permission denied
rm: cannot remove ‘../build/payloads/vmdkops/usr/lib/vmware/vmdkops/Python/vmdk_utils.py’: Permission denied
rm: cannot remove ‘../build/payloads/vmdkops/usr/lib/vmware/vmdkops/Python/kvESX.py’: Permission denied
rm: cannot remove ‘../build/payloads/vmdkops/usr/lib/vmware/vmdkops/Python/log_config.py’: Permission denied
rm: cannot remove ‘../build/payloads/vmdkops/usr/lib/vmware/vmdkops/Python/cli_table.py’: Permission denied
rm: cannot remove ‘../build/payloads/vmdkops/usr/lib/vmware/vmdkops/Python/vsan_info.py’: Permission denied
rm: cannot remove ‘../build/payloads/vmdkops/usr/lib/vmware/vmdkops/lib64/libvmci_srv.so’: Permission denied
rm: cannot remove ‘../build/payloads/vmdkops/etc/init.d/vmdk-opsd’: Permission denied
The text was updated successfully, but these errors were encountered: