dongzhi6905
2013-04-16 13:54
浏览 116
已采纳

我无法将0777设置为文件权限,因为所有者/组是48 48

I am trying to create a folder chmod it to 777 but I'm unable to it. It always reverts changes to:

File Permissions: 341 Owner/Group: 48 48

It only happens when I try to create a folder using PHP. I use Laravel's mkdir function. (Ref: http://laravel.com/api/class-Laravel.File.html) It works normally if I create folder with FTP.

As asked on other (probably duplicate) topics;

This script outputs:

<?php echo "UID = " . getmyuid() . ", User = " . get_current_user(); ?>
//Output: UID = 502, User = TestUser

I use directadmin as panel and safe_mode is off.

What should I do?

  • 写回答
  • 好问题 提建议
  • 追加酬金
  • 关注问题
  • 邀请回答

1条回答 默认 最新

相关推荐 更多相似问题