gluster-devel
[Top][All Lists]
Advanced

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

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


From: Raghavendra G
Subject: Re: [Gluster-devel] Error during chowning file over glusterfs mount
Date: Tue, 22 Jan 2008 08:21:59 +0400

Hi Mateusz,

Are you running glusterfsd as root? If not can you try running glusterfsd as
root.

regards,

On Jan 21, 2008 10:10 PM, Mateusz Korniak <address@hidden>
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:
>
> address@hidden 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)
> address@hidden 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 ..
> address@hidden wuo]$ touch test
> address@hidden wuo]$ chown :http test
> chown: changing group of `test': Operation not permitted
>
>
> glusterfs server (after turning off daemon - same dir):
>
> address@hidden wuo]$ id
> uid=500(matkor) gid=1000(users) groups=10(wheel),51(http),124(logs),1000
> (users),1001(abadmwww),1002(abitemsd),1003(abdsyncd)
> address@hidden 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
> address@hidden wuo]$ chown :http test
> address@hidden 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
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/gluster-devel
>



-- 
Raghavendra G

A centipede was happy quite, until a toad in fun,
Said, "Prey, which leg comes after which?",
This raised his doubts to such a pitch,
He fell flat into the ditch,
Not knowing how to run.
-Anonymous


reply via email to

[Prev in Thread] Current Thread [Next in Thread]