Bug 3533
Summary: | HFSPLUS does not take care of uid/gid options | ||
---|---|---|---|
Product: | File System | Reporter: | Carlos Perell (carlos) |
Component: | HFS/HFSPLUS | Assignee: | Roman Zippel (zippel) |
Status: | REJECTED DOCUMENTED | ||
Severity: | normal | CC: | bunk, protasnb, spkane00 |
Priority: | P2 | ||
Hardware: | i386 | ||
OS: | Linux | ||
Kernel Version: | 2.6.8.1 | Subsystem: | |
Regression: | --- | Bisected commit-id: | |
Attachments: |
Patch to fix the bug
Second try, this time following Apple specification fix broken logic for mount uid=xxx,gid=xxx |
Description
Carlos Perell
2004-10-09 06:08:43 UTC
Created attachment 3790 [details]
Patch to fix the bug
I'm working on a new patch, this one is not correct. The new one will follow the Apple specification at: http://developer.apple.com/technotes/tn/tn1150.html#HFSPlusPermissions Created attachment 3798 [details]
Second try, this time following Apple specification
Here you have a proposal patch to fix it.
It does not have activated the dynamic owner change if you use uid=99 because I
don't know a way to invalidate the inode cache and thus, "ls" always shows the
uid of the files as the first user that accessed to it.
Roman, can you comment on this patch? Created attachment 11849 [details] fix broken logic for mount uid=xxx,gid=xxx Patched by: Wyatt Banks <wyatt[at]banksresearch.com> and originally posted here: http://lkml.org/lkml/2007/6/20/364 This is not really a bug, this option is not intended to override the uid/gid, it's only used as default for uninitialized values. The uid remapping for uid 99 should depend on a different kernel option and it only the uid should be remapped, there is no gid remapping. Any update on this problem please. Thanks. I think the bug was sufficiently explained in #6, so I suppose we can close it as it "works as intended". |