OneDrive Cloud Storage
Included with you SISSA email account you get a storage on Microsoft OneDrive (depending on your account privileges and licences), integrated in SISSA authentication services (that means you can easily share a file with a colleague).
To use it go to
From there you can browse the files with you browser. For more intensive file transfer usage it is recommended to install the client for your platform, from:
https://www.onedrive.com/download
The client is available for most desktop (MacOS, it's usually already installed in Microsoft Windows) and mobile platforms (Android, iOS)
OneDrive Linux Configuration
Alas, there is no official Linux Onedrive client. But there is a good open source alternative. The recommended one is:
Install guide
To install it on your laptop please see:
https://github.com/abraunegg/onedrive/blob/master/docs/INSTALL.md
For example, on Ubuntu you can just run
sudo -i wget -qO - https://download.opensuse.org/repositories/home:/npreining:/debian-ubuntu-onedrive/xUbuntu_24.04/Release.key | gpg --dearmor | sudo tee /usr/share/keyrings/obs-onedrive.gpg > /dev/null echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/obs-onedrive.gpg] https://download.opensuse.org/repositories/home:/npreining:/debian-ubuntu-onedrive/xUbuntu_24.04/ ./" | sudo tee /etc/apt/sources.list.d/onedrive.list apt-get update apt install --no-install-recommends --no-install-suggests onedrive exit
Setup you SISSA account in ondedrive
To configure onedrive, just run the command
onedrive --sync
From your local user terminal. It should open automatically your web browser and allow you to authenticate with you SISSA credentials.
By default, the system will sync everything in the folder
~/OneDrive
If you want, you can change it looking for the line
sync_dir = "~/OneDrive"
Inside the file
~/.config/onedrive/config
You can also specify a list of folder to sync inside the sync_dir:
~/.config/onedrive/sync_list
Then you need to run the client with resync option to let it aknowledge the changes:
onedrive --sync --resync
If you need to sync multiple folders outside your home, you create symbolic links: ls -s /scratch/custom_folder ~/OneDrive/custom_folder
Create the system service
In order to have a continuous sync (and not have to manually run the onderive command each command), you need to create a system service.
sudo cp /usr/lib/systemd/user/onedrive.service "/usr/lib/systemd/user/onedrive-$USER.service"
Then you need to edit the file “/usr/lib/systemd/user/onedrive-$USER.service” and
ExecStart=/usr/bin/onedrive --monitor --confdir="/home/$USER/.config/onedrive"
Please, make sure you set write the full path of your OneDrive config file. Then, you can just enable the service
systemctl --user enable onedrive-$USER
And start it and check the status of the sync:
systemctl --user start onedrive-$USER systemctl --user status onedrive-$USER
This way, each time you log into your local user session the onedrive client will run a keep syncing files. For more details, see: https://github.com/abraunegg/onedrive/blob/master/docs/USAGE.md
It is only CLI, but it has proven fairly stable.