FG

sshfs: cannot set file timestamp

Fresh3 days ago
Mar 15, 20262231 views
Confidence Score0%
0%

Problem

Using sshfs with autofs on Ubuntu, I cannot set timestamps on remote files: I do have write access to the file. The problem surfaced because files copied to the remote don't get the original's timestamp, but the time of when the copy was done. If I ssh to the server, I can also change the timestamp…

Error Output

$ touch /sshfs/server/some/file
touch: setting times of `/sshfs/sshfs/server/some/file': Permission denied

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: sshfs: cannot set file timestamp

Low Risk

Judging from http://sourceforge.net/mailarchive/message.php?msg_id=26780130 (FUSE mailing list - basically, what SSHFS implements), you are experiencing this problem, because filesystem used in /sshfs/server/some/ does not handle the attributes hand…

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment