Reply to OS X chmod problem

Your name:

Reply:


Posted by Marcus Bointon on 05/04/05 16:10

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?

Any other workarounds for this?

TIA,

Marcus
--
Marcus Bointon
Synchromedia Limited: Putting you in the picture
marcus@synchromedia.co.uk | http://www.synchromedia.co.uk

[Back to original 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

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