[Gluster-devel] Error during chowning file over glusterfs mount

Mateusz Korniak mateusz-lists at ant.gliwice.pl
Mon Jan 21 18:10:39 UTC 2008


I am unable to chown file over glusterfs mount.
Is it my mistake, feature or bug ?

I have simple scenario:
laptop-hp glusterfs client [1] using kernel 2.6.22.12  fuse.
beauty glusterfs server [2] for few other hosts.
UIDs and GIDs in sync (at least ones used in operation)


glusterfs client:
 
[matkor at laptop-hp uo]$ id
uid=500(matkor) gid=1000(users) groups=7(lp),10(wheel),16(ttyS),19(floppy),21
(slocate),23(audio),24(video),27(cdwrite),33(mldonkey),51(http),78(usb),124
(logs),1000(users),1001(abadmwww)
[matkor at laptop-hp wuo]$ ls -la
total 8
drwxrwxr-x 2 matkor http     4096 Jan 21 18:20 .
drwxrwxr-x 9 root   abadmwww 4096 Jan 21 15:53 ..
[matkor at laptop-hp wuo]$ touch test
[matkor at laptop-hp wuo]$ chown :http test
chown: changing group of `test': Operation not permitted
 
 
glusterfs server (after turning off daemon - same dir):
 
[matkor at beauty wuo]$ id
uid=500(matkor) gid=1000(users) groups=10(wheel),51(http),124(logs),1000
(users),1001(abadmwww),1002(abitemsd),1003(abdsyncd)
[matkor at beauty wuo]$ ls -la
total 8
drwxrwxr-x  2 matkor http     4096 Jan 21 18:21 .
drwxrwxr-x  9 root   abadmwww 4096 Jan 21 15:53 ..
-rw-------  1 matkor users       0 Jan 21 18:21 test
[matkor at beauty wuo]$ chown :http test
[matkor at beauty wuo]$ ls -la
total 8
drwxrwxr-x  2 matkor http     4096 Jan 21 18:21 .
drwxrwxr-x  9 root   abadmwww 4096 Jan 21 15:53 ..
-rw-------  1 matkor http        0 Jan 21 18:21 test

[1]:
volume beauty_abbon_static_root_pl_studiotg1_x
  type protocol/client
  option transport-type tcp/client     # for TCP/IP transport
  option remote-host 192.168.3.1         # IP address of the remote brick
  option remote-subvolume abbon_static_root_pl_studiotg1_x 
end-volume

[2]
volume abbon_static_root_pl_studiotg1_x
  type storage/posix                   # POSIX FS translator
  option 
directory /home/services/lighttpd/html/abbon_static_root.pl.studiotg1/x
end-volume

volume server
  type protocol/server
  option transport-type tcp/server     # For TCP/IP transport
  option bind-address 192.168.3.1     
  option client-volume-filename /etc/glusterfs/glusterfs-client.vol
  subvolumes abbon_static_root_pl_studiotg1_x

  option auth.ip.abbon_static_root_pl_studiotg1_x.allow   192.168.3.*
end-volume


Regards,
-- 
Mateusz Korniak





More information about the Gluster-devel mailing list