On 08/31/2016 02:15 PM, Wido den Hollander wrote:
Op 31 augustus 2016 om 15:28 schreef Daniel Gryniewicz <dang@xxxxxxxxxx>:
I believe this is a Ganesha bug, as discussed on the Ganesha list.
Ah, thanks. Do you maybe have a link or subject so I can chime in?
Wido
https://sourceforge.net/p/nfs-ganesha/mailman/message/35321818/
Daniel
Daniel
On 08/31/2016 06:55 AM, Wido den Hollander wrote:
Op 31 augustus 2016 om 12:42 schreef John Spray <jspray@xxxxxxxxxx>:
On Wed, Aug 31, 2016 at 11:23 AM, Wido den Hollander <wido@xxxxxxxx> wrote:
Hi,
I have a CephFS filesystem which is re-exported through NFS Ganesha (v2.3.0) with Ceph 10.2.2
The export works fine, but when calling a chgrp on a file the UID is set to root.
Example list of commands:
$ chown www-data:www-data myfile
That works, file is now owned by www-data/www-data
$ chgrp nogroup myfile
Does the nogroup group have GID -1 by any chance? There is a bug in
the userspace client where it doesn't handle negative gid/uids
properly at all, which Greg is working on at the moment
(http://tracker.ceph.com/issues/16367)
No, it doesn't. nogroup is just an example here. This happens with any group.
The UID is always set back to 0.
Wido
John
That files, the UID is now set to 0 (root) and the group hasn't changed.
I tracked this down to being a Ganesha problem in combination with CephFS. Running these commands on either a kernel mounted CephFS or via FUSE I don't see this problem.
The Ganesha configuration:
NFSv4
{
IdmapConf = /etc/idmapd.conf;
}
EXPORT
{
Export_ID = 1;
Path = "/";
Pseudo = "/";
Access_Type = RW;
Protocols = "4";
Squash = no_root_squash;
Transports = TCP;
SecType = sys;
FSAL {
Name = CEPH;
}
}
Has anybody seen this before?
Wido
_______________________________________________
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
_______________________________________________
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
_______________________________________________
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
_______________________________________________
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com