I use Create Folder API MKCOL remote.php/dav/files/user/path/to/new/folder. I would like to clarify if it is possible to create a folder for another user.
In my case, one user should be able to create the folder for another user (not share).
User A is authenticated via Bearer Token and sends a request to create a folder for User B, as a result, I get an error “Sabre\DAV\Exception\Forbidden: Permission denied to create directory”.
Thanks for the support.
You are missing the required support template. Please fill this form out and edit into your post.
This will give us the technical info and logs needed to help you! Thanks.
I think it is not possible because of security. Every user only can create his/her own folders. Perhaps you can use Group Folders. Also you can use commands in linux. E.g. mkdir /path/to/folder in combination with occ files:scan . But this is not a good idea.
Can you explain your goal? Maybe we find a solution.
Thank you for the support, I see
We found another way to avoid the creation of a folder for another user.