在Azure网站文件夹的权限 [英] Folder permissions in Azure web sites

查看:93
本文介绍了在Azure网站文件夹的权限的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

刚开我的头围绕新的Azure网站功能,打我的第一个障碍。我部署一个PHP的网站,缓存中的数据写入到文件系统,但由于该文件夹它要写信给不具有写权限的应用程序是抛出一个错误。是否可以对文件夹设置权限,或者这是一个禁忌?

Just getting my head around the new Azure web sites feature and hitting my first obstacle. I'm deploying a PHP site which writes cache data to the file system, but the app is throwing an error because the folder it wants to write to does not have write permission. Is it possible to set permissions on folders or is this a no-no?

我也许可以工作,这一轮,但想知道这是否是可能的。

I can probably work round this but would like to know if it's possible.

推荐答案

文件夹权限不能设置/自定义。这意味着无论位置你的应用程序写入应该是你的网站根目录下。

Folder permissions cannot be set/customized. This means whatever location your app writes to should be under your site root.

这篇关于在Azure网站文件夹的权限的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆