doucong1268 2010-09-07 10:18
浏览 103
已采纳

将整个图像文件夹转换为777权限?

I took an opportunity to batch optimise a folder of images from my site, of course i forgot the new images would not have the permissions 777.

Given the wiki-type nature of my site i need users to be able upload/replace the images!

is there anyway i can change the permissions of the whole folder's images either with a php script or ftp program?

  • 写回答

3条回答 默认 最新

  • dongshang3309 2010-09-07 10:24
    关注

    In filezilla: Select all -> Right click -> File permissions (at the bottom)

    with php: http://www.php.net/manual/en/function.chmod.php

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论
查看更多回答(2条)

报告相同问题?