Posts Tagged ‘problem’

Windows Server 2003 Quick Launch Permission Errors

Problems | Posted by epistasis
May 17 2009

Problem: I’ve been trying to fix this for ages. Basically, when logged on as Administrator to my Windows 2003 Server box, using folder redirection (particularly for the Application Data folder, which is where the user’s quick launch is stored – App Data\Microsoft\Internet Explorer\Quick Launch), and redirecting over a share (even though the share is on the same server), clicking any quick launch items brings up an error saying “You may not have the appropriate permissions” etc.

Solution: After lots of googling I found the answer is to add the file server to the ‘Intranet’ zone under the Security tab of Internet Explorer. (i.e. add server or http://server). This will make the quick launch work again. If you want to reload the quick launch, go into task manager and kill explorer.exe, then start it up again.

FreeBSD chown and chmod

FreeBSD, Problems | Posted by epistasis
Jan 28 2009

Problem: I was recently trying to use chmod and chown in PHP on a FreeBSD system. I found out that these two commands (for obvious) reasons, can only be used by the superuser, therefore I couldn’t change the owner of an uploaded file (via a website) from the www to the user who’s website it was. In Solaris you can just change rstchown to 0 in /etc/system – unfortunately I couldn’t find a similar way to do this in FreeBSD.

Solution: The main solution I have found to this is to just use a cron job as root to chown all the files  (by using an asterisk in the file path) in a certain directory (the upload directory) to the user.. This is also a lot safer than allowing other users to use chmod/chown.

Obviously, if anyone can think of a better way of doing this, please let me know.