没有对子文件夹的写访问权限

时间:2014-03-04 14:14:13

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

我创建了一个目录,并给了用户(称为'Brad')写权限。

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

但是,他无法写入子目录。

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

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

所以问题是:为什么子目录没有继承权限?

1 个答案:

答案 0 :(得分:2)

-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.