开发者

issue with folders ownership

开发者 https://www.devze.com 2023-02-02 16:37 出处:网络
I\'ve an issue with files ownerships in unix. I have a drupal website and the \"files\" folder needs to be owned by \"www-data\" in order to let the users to upload files with php.

I've an issue with files ownerships in unix.

I have a drupal website and the "files" folder needs to be owned by "www-data" in order to let the users to upload files with php.

However I'm now using svn and I need all folders and files to be own by "svnuser" in order to work.

So now, I guess I need to add both users to a group with proper permissions. I'm not sure what exactly to do, could you tell me what are the exact necessary steps ?

tha开发者_运维知识库nks


Create a group that has necessary permissions for all files, then add svnuser and www-data to this group.

0

精彩评论

暂无评论...
验证码 换一张
取 消