What is the meaning of these Windows Environment variables: HOMEDRIVE, HOMEPATH, HOMESHARE, USERPROFILE

USERPROFILE is set by userenv!LoadUserProfileW which is called when, well, loading the user’s profile (the HKEY_USERS\<sid> hive). This typically happens the first time a process is started for the user. If you specifically arranged not to load the profile (e.g. with /noprofile for runas) then the process is run in the Default User profile which … Read more

Cannot bulk load because the file could not be opened. Operating System Error Code 3

I do not know if you solved this issue, but I ran into the same issue. If the instance is local you must check the permission to access the file, but if you are accessing from your computer to a server (remote access) you have to specify the path in the server, so that means … Read more

preserving file permissions for samba shares when file is edited

Could finally figure out why permission was changing. The confusion arose from the map archive = yes setting being the default value in Samba. After setting map archive = no, the owner execute bit started behaving like I expected it to behave. Found the answer by reading the documentation over here: http://www.samba.org/samba/docs/using_samba/ch08.html in the File … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)