You are here: Re: [SMARTY] OS X chmod problem « Smarty Templates Posts « IT news, forums, messages
Re: [SMARTY] OS X chmod problem

Posted by Jochem Maas on 05/04/05 18:03

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

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация