mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
BUG Fix documentation for permissions
This commit is contained in:
parent
3e9dc5c7d2
commit
0b3363d0a0
@ -90,9 +90,10 @@ If you are running on a server instance where users other than the webserver use
|
|||||||
read / write access to files in the assets folder, then you will need to adjust the
|
read / write access to files in the assets folder, then you will need to adjust the
|
||||||
permissions of the filesystem to a more permissive setting.
|
permissions of the filesystem to a more permissive setting.
|
||||||
|
|
||||||
By default private files and `.htaccess` are written with permission `0600`.
|
By default private files and `.htaccess` are written with permission `0644`.
|
||||||
You could enable other users to access these files with the below config.
|
You could enable other users to access these files with the below config.
|
||||||
Note: Please adjust the values below to those appropriate for your server configuration:
|
Note: Please adjust the values below to those appropriate for your server configuration.
|
||||||
|
You may require `0666` for combined files generated during requests where they are cleared or refreshed only during a flush.
|
||||||
|
|
||||||
*mysite/_config/assetperms.yml*
|
*mysite/_config/assetperms.yml*
|
||||||
|
|
||||||
|
@ -2254,6 +2254,7 @@ The below methods have been added or had their functionality updated to `DBDate`
|
|||||||
* `AssetControlExtension` is applied by default to all DataObjects, in order to support the management
|
* `AssetControlExtension` is applied by default to all DataObjects, in order to support the management
|
||||||
of linked assets and file protection.
|
of linked assets and file protection.
|
||||||
* `ProtectedFileController` class is used to serve up protected assets.
|
* `ProtectedFileController` class is used to serve up protected assets.
|
||||||
|
* `AssetAdaptor` has a new config `default_server` which helps tell the code which server type to use if no matching type was found by scanning the server software - defaults to `apache`
|
||||||
|
|
||||||
#### <a name="overview-filesystem-removed"></a>Filesystem removed API
|
#### <a name="overview-filesystem-removed"></a>Filesystem removed API
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user