Webdav gives root access when folder is deleted

ev2945

Registered
Apr 10, 2019
2
0
1
wellington
cPanel Access Level
Root Administrator
Hi,

I gave someone access to a specific folder on the server using WebDav. As it is about some kind of CMS, the user can delete this folder (which should stay possible). I would expect that if the folder is deleted, the user doesn't have any access anymore. But instead he gets access to the root folder...!

Any way to change this?
 

cPanelLauren

Forums Analyst II
Staff member
Nov 14, 2017
8,012
647
263
Houston
cPanel Access Level
DataCenter Provider
Hi @ev2945


Can you provide the exact replication steps on how to reproduce this issue? Here's what I attempted thus far and was unable to replicate:

1. Create a new WebDisk account from cPanel>>Files>>WebDisk -> Create an Additional Web Disk Account
2. When creating the account assigned it access to public_html/webdavtest
3. Added a test.txt file in the public_html/webdavtest folder to ensure i can view/edit contents
4. Logged in at https://domain.tld:2078
5. Logged out and removed the webdavtest folder
6. Attempted to log in again and was met with a failure
 

ev2945

Registered
Apr 10, 2019
2
0
1
wellington
cPanel Access Level
Root Administrator
Hi Lauren,

Thanks for having a look at it!

Here are the steps I followed:

1. Cpanel >> User Manager --> Edit User
2. Services - enable Web Disk
3. Set home directory, read-write

webdisk1.png

4. folder accessible, using cyberduck

webdisk2_cyberduck.png

5. user deletes course via web application (and with that, the subfolder within that was made accessible via web disk)
6. user logs in on webdisk via cyberduck - sees root folder instead (with read & write access)

webdisk3_cyberduck.jpg
 

cPanelLauren

Forums Analyst II
Staff member
Nov 14, 2017
8,012
647
263
Houston
cPanel Access Level
DataCenter Provider
Hi @ev2945


Thank you so much for the great replication steps, I'm still unable to replicate the issue you're noting can you please open a ticket using the link in my signature? Once open please reply with the Ticket ID here so that we can update this thread with the resolution once the ticket is resolved.


Thanks!