Support `mode`, `uid`, `gid`, `atime`, `mtime` metadata for SFTP
Open
Nobody has claimed this yet.
enhancement
help wanted
- Dominant language
- Go
- Stars
- 59.8k
- Forks
- 5.4k
- Avg merge
- 2d 14h
- Merged PRs (30d)
- 48
Description
What problem are you are trying to solve?
I want rclone to have the same support for file permissions/etc that rsync provides with SFTP.
How do you think rclone should be changed to solve that?
I believe the implementation is as simple as turning on metadata support for SFTP for mode, uid, gid, atime, mtime.
How to use GitHub
- Please use the 👍 reaction to show that you are affected by the same issue.
- Please don't comment if you have no relevant information to add. It's just extra noise for everyone subscribed to this issue.
- Subscribe to receive notifications on status change and new comments.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating rclone's SFTP backend and its existing metadata support, then compare how other backends expose file permissions and timestamps. Confirm the supported metadata fields and add coverage for mode, uid, gid, atime, and mtime so SFTP transfers preserve them as requested.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- backend
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100