I keep running into issues with various thing not working due to file permissions. Is their a definative guide to what folders and files should be set to?
Topic on Project:Support desk
The locations pointed to by $wpUploadDirectory
, $wgCacheDirectory
, and $wgTmpDirectory
are about the only ones that should be writable. Some extensions need a writable directory (e.g. Widgets needs $IP/extensions/Widgets/compiled_templates/
, and SemanticMediaWiki would like $smwgConfigFileDir
to be writable), but that covers most of the cases.
But it is possible I've missed some. Do you see any missing?
@MarkAHershberger, Well I keep trying to run deleteArchivedFiles.php --delete and get Could not acquire lock on ffilename, skipping.
I can't really find anything, but it seems like a permissions issue.
That sounds like you should run the script as whatever user owns the files under images.
that did it. thanks