【问题标题】:No write access to child folder没有对子文件夹的写入权限
【发布时间】:2014-11-04 19:00:15
【问题描述】:

我创建了一个目录并授予用户(称为“Brad”)写入权限。

Brad 可以在其父目录中创建文件和目录。

但是,他不能写入子目录。

也就是说,他访问了父目录,在其中创建了一个新目录,但是这个新创建的目录并没有给他写权限。

管理员必须进入子目录重新分配他的权限。

那么问题来了:为什么权限不被子目录继承?

【问题讨论】:

    标签: windows-xp directory windows-server-2003 shared-directory


    【解决方案1】:

    -R,你需要给前面所有子目录的权限...在linux中这是通过写-R来完成的,MS不知道

    试试:http://support.microsoft.com/kb/313398 或:https://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/acl_inherit_permissions.mspx?mfr=true

    更新:一个例子(在 Linux 上使用终端,假设您当前位于您关注的特定目录的父目录中)...

    sudo chown www-data:www-data dlfiles/    ... This will only modify the ownership of the parent directory
    sudo chown -R www-data:www-data dlfiles/    ... This will modify all the sub directories too
    
    
    sudo chmod -R 777 dlfiles/ ... This will modify the Read-Write-Execute permissions to Everyone can RWX.
    

    【讨论】:

      猜你喜欢
      • 2015-12-21
      • 1970-01-01
      • 1970-01-01
      • 2011-08-21
      • 2012-03-04
      • 1970-01-01
      • 1970-01-01
      • 2020-06-08
      • 1970-01-01
      相关资源
      最近更新 更多