Open damonb123 opened 2 years ago
@damonb123 have you seen issues with mounts not being writeable due to this? Can you describe the use cases of failures?
The lack of the sticky bit is a security issue, and shows up as a security violation. Not having sticky bit will allow users other than the owner to delete them.
@damonb123 can you review/test #7573 ?
change requested does not have the result desired as per testing. not urgent as the mounts are not publicely exposed but needs more investigation.
ISSUE TYPE
COMPONENT NAME
component:api
CLOUDSTACK VERSION
OS / ENVIRONMENT
Ubuntu Rocky Linux 8
SUMMARY
In java code, NFS mounts are not consistently set to 1777 to prevent world writable issues.
References to correct setting
Change 777 to 1777
./services/secondary-storage/server/src/main/java/org/apache/cloudstack/storage/resource/LocalNfsSecondaryStorageResource.java
./plugins/hypervisors/hyperv/src/main/java/com/cloud/hypervisor/hyperv/manager/HypervManagerImpl.java