【问题标题】:What are the default permissions when creating a file with fopen() in php?在 php 中使用 fopen() 创建文件时的默认权限是什么?
【发布时间】:2012-12-11 11:36:02
【问题描述】:

如果调用时文件不存在

fopen(<filename>, 'w');

新文件的默认权限应该是什么?

【问题讨论】:

    标签: php permissions fopen


    【解决方案1】:

    这取决于您的操作系统、它的配置以及 - 取决于操作系统 - php umaskDocs 配置。

    【讨论】:

      猜你喜欢
      • 2017-09-14
      • 2013-07-30
      • 2014-06-05
      • 2012-01-22
      • 1970-01-01
      • 2013-02-19
      • 2013-05-16
      • 2012-01-29
      相关资源
      最近更新 更多