1

I created a directory and gave the user (called 'Brad') write permissions.

Brad can create files and directories inside his parent directory.

However, he can't write to the sub-directory.

That is, he accesses the parent directory, creates a new directory within, BUT this new directory created does not give him write permission.

The Admin has to go into the sub directory reassign him permissions.

So the question is: Why aren't the permissions being inherited by the sub-directory?

4

1 回答 1

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.
于 2014-03-04T14:16:52.493 回答