File System Permissions and Ownership
File System Permissions and Ownership
Warehouse data partitions are owned by root:3sdw on viking and root:iwdw on valkyrThe following permissions should be maintained on the main data storage partitions. ug+rwx o+rx o-w
Occasionally when new data is loaded it is necessary to reset the permissions. as follows:
chmod -R ugo+rx /mnt/data1
failure to include the read option for other will prohibit users from downloading the data. Failure to include the execute option for other will allow users to download the data but will give them permissions errors when they attempt to access downloaded files. If this occurs it is sufficient for the user to execute the above chmod command on their own copy of the downloaded data.
Edit Read-Only / Read-write Mounts
mount -o remount,ro /mnt/data1
or
mount -o remount,rw /mnt/data1