Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't rename Access or Group files when moving things around #605

Open
filmil opened this issue Aug 9, 2018 · 0 comments
Open

Can't rename Access or Group files when moving things around #605

filmil opened this issue Aug 9, 2018 · 0 comments

Comments

@filmil
Copy link
Contributor

filmil commented Aug 9, 2018

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant