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

user and group ? #104

Open
jgranduel opened this issue Jun 28, 2021 · 6 comments
Open

user and group ? #104

jgranduel opened this issue Jun 28, 2021 · 6 comments

Comments

@jgranduel
Copy link

Hi,

it seems user and group don't return anything. Shouldn't they display the owner and group_owner?
Thanks

@rickhg12hs
Copy link

rickhg12hs commented Jun 29, 2021

@jgranduel I'm wondering if this is an OS or filesystem issue. On my Linux/ext4 system, user and group display correctly.

@jgranduel
Copy link
Author

Thank you for your reply. It might be the issue as it works on WSL Ubuntu but not with Linux/zfs. Any workaround?

@jhspetersson
Copy link
Owner

Thanks for reporting this! I had no chance to test user and others against ZFS partition, but guess there are two possibilities:

  • uid for user name substitution fails due to some kind of unsupported auth mechanism on your system (or due to lacking of specific permissions)
  • file uids are disjoint from current user base

I'll try to set up a ZFS, and reproduce the issue.

@jgranduel
Copy link
Author

Just a quick comment. I cannot display user when I'm not the owner of the folder (even as root), but it works with my files. OS/filesystem might have been misleading? HTH.

@rickhg12hs
Copy link

I cannot display user when I'm not the owner of the folder (even as root), but it works with my files.

I've only used ZFS as part of a homework assignment long ago, but I'm wondering if some incantation of zfs allow .. might provide the more "expected behavior".

@jgranduel
Copy link
Author

I don't know zfs enough I'm afraid. Why do ls -ld .. or stat -c "%U" .. work, but not fselect? what is different in your approach? Shouldn't it work as root?

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

3 participants