Re: Error during chowning file over glusterfs mount

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tuesday 22 of January 2008, Raghavendra G wrote:
> Sorry forgot to ask. How are you running glusterfs client? as superuser ?

I am using /etc/fstab to automount :

/etc/glusterfs/beauty_abbon_static_root_pl_studiotg1_x.vol /home/services/lighttpd/html/abbon_static_root.pl.studiotg1/x        
glusterfs       default         0       0

And see:
ps aux | grep gluster
root      1835  0.0  0.1  10416  1080 ?        Ssl  09:17   0:00 [glusterfs]  


Regards,

> > Unfortunately glusterfsd is running as root while I have this problem.
> >
> > > On Jan 21, 2008 10:10 PM, Mateusz Korniak
> > > <mateusz-lists@xxxxxxxxxxxxxx>
> > >
> > > wrote:
> > > > 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@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),1
> >
> > > >24 (logs),1000(users),1001(abadmwww)
> > > > [matkor@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@laptop-hp wuo]$ touch test
> > > > [matkor@laptop-hp wuo]$ chown :http test
> > > > chown: changing group of `test': Operation not permitted
> > > >
> > > >
> > > > glusterfs server (after turning off daemon - same dir):
> > > >
> > > > [matkor@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@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@beauty wuo]$ chown :http test
> > > > [matkor@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
> > > >
> > > >
> > > > _______________________________________________
> > > > Gluster-devel mailing list
> > > > Gluster-devel@xxxxxxxxxx
> > > > http://lists.nongnu.org/mailman/listinfo/gluster-devel
> >
> > --
> > Mateusz Korniak



-- 
Mateusz Korniak




[Index of Archives]     [Gluster Users]     [Ceph Users]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux