You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This isn't exactly a bug, but a somewhat unexpected user experience.
So, I wanted to set up my upspin file tree for sharing. Turns out, in order to get there, I have to give list permissions to the top level directory. Except, I already loaded it with directories that I didn't intend to share. So I first equipped them with Access files. But then figured, perhaps I don't want to expose these directories names to begin with. So I wanted to bury them inside a private directory. Since you can't rename, I figured to use rsync to copy things around. I was then surprised to see an I/O Error when rsync attempted an in-place rename of a temporary access control file into its actual name.
So this makes it a bit involved to copy things around. Since rsync likes to rename files in place, I'll need to find a way to copy files without the associated Access file. But, that may change permissions in unforeseen ways. Perhaps this is something that upspin should do for us?
FUSE log file below:
2018/08/09 07:10:23.234876 upspinfs: Watch("f@filmar.us/") entry: f@filmar.us/work/dnl/.Access.4sFSKP (delete=false)
2018/08/09 07:10:23.240265 Rename: f@filmar.us/work/dnl/.Access.4sFSKP: invalid operation:
client.Rename: f@filmar.us/work/dnl/Access: Access or Group files cannot be renamed
2018/08/09 07:10:23.240316 FUSE -> [ID=0x49973] Rename error=EIO: Rename: f@filmar.us/work/dnl/.Access.4sFSKP: invalid operation:
client.Rename: f@filmar.us/work/dnl/Access: Access or Group files cannot be renamed
The text was updated successfully, but these errors were encountered:
This isn't exactly a bug, but a somewhat unexpected user experience.
So, I wanted to set up my upspin file tree for sharing. Turns out, in order to get there, I have to give
list
permissions to the top level directory. Except, I already loaded it with directories that I didn't intend to share. So I first equipped them withAccess
files. But then figured, perhaps I don't want to expose these directories names to begin with. So I wanted to bury them inside aprivate
directory. Since you can't rename, I figured to usersync
to copy things around. I was then surprised to see anI/O Error
whenrsync
attempted an in-place rename of a temporary access control file into its actual name.So this makes it a bit involved to copy things around. Since
rsync
likes to rename files in place, I'll need to find a way to copy files without the associated Access file. But, that may change permissions in unforeseen ways. Perhaps this is something thatupspin
should do for us?FUSE log file below:
The text was updated successfully, but these errors were encountered: