Re: [SMARTY] OS X chmod problem

From: Date: Wed, 04 May 2005 15:03:11 +0000
Subject: Re: [SMARTY] OS X chmod problem
References: 1  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-12581@lists.php.net to get a copy of this message
Marcus Bointon wrote:
I've run into a little problem. The docs for getcwd() mentions: "On some Unix variants, getcwd() will return FALSE if any one of the parent directories does not have the readable or search mode set, even if the current directory does." OS X is evidently one of these, and it's stopping Smarty running at all as it causes the smarty_core_create_dir_structure function to fail in userdir sites. This means that I have to give read and execute permissions to /, / Users, /Users/marcus, /Users/marcus/Sites etc, which is not great for userdir sites. I noticed that the permissions on /Users is:
drwxrwxr-t    12 root    admin       408 Apr 29 21:58 ./
I can't find any docs on what the 't' bit means. Anyone know?
it means the 'sticky bit' is on. plenty of documentation about the sticky bit to get confused about :-) here is one to start you off....: http://www.faqs.org/faqs/hp/hpux-faq/section-70.html can't help you with OSX tho. (apart from to say it looks nicer than windows on the whole :-)
Any other workarounds for this? TIA, Marcus


« previous php.smarty.general (#12581) next »