In order to change shared link permissions, you will need Editor or Above access to the content.
- Navigate to the File/Folder
- Select Share next to the name of a folder/file to generate a shared link for that item
- A pop up should appear for additional Shared Link Settings
- Click on the "Set Link Expiration" to be able to choose a date for the link to expire