Package: onedrive
Version: 2.4.4-1
Severity: wishlist

Dear Maintainer,

I do not know whether this is default for all or most OneDrive for Business
setups, but in my OneDrive in Office 365, I cannot delete a directory if
it contains other directories or files from the web interface.
As a result I can delete such directory with a Windows desktop client,
but I cannot delete it with onedrive for linux. I get the following error:

ERROR: OneDrive returned an error with the following message:
  Error Message: HTTP request returned status code 401 (FORBIDDEN)
  Error Reason:  Access denied. You do not have permission to perform this 
action or access this resource.

As a workaround, I can delete the contents of the directory first
and proceed with deleting the directory itself. It would be nice, if
onedrive client could chain those requests automatically. Alternatively,
it could provide a similar warning as the web interface does:

"You have to delete all the items in this
folder before you can delete the folder."

>From forum discussions, I guess that it is has something to do with
retention policies, but it makes no sense to me because I can
easily delete the entire folders along with their contents in
OneDrive Windows client.

Best wishes
Roman

-- System Information:
Debian Release: bullseye/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 5.7.0-3-amd64 (SMP w/6 CPU threads)
Locale: LANG=uk_UA.UTF-8, LC_CTYPE=uk_UA.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages onedrive depends on:
ii  init-system-helpers      1.58
ii  libc6                    2.31-3
ii  libgcc-s1                10.2.0-5
ii  libglib2.0-0             2.64.4-1
ii  libnotify4               0.7.9-1
ii  libphobos2-ldc-shared91  1:1.21.0-1+b1
ii  libsqlite3-0             3.33.0-1

onedrive recommends no packages.

onedrive suggests no packages.

-- no debconf information

Reply via email to