bugGluster - Bugs: bug #26143, not work files permissions

 
 

bug #26143: not work files permissions

Submitted by:  None
Submitted on:  Fri 10 Apr 2009 02:37:47 PM UTC  
 
Category: GlusterFSSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Improper behaviour
Status: FixedPrivacy: Public
Assigned to: NoneOriginator Name: -
Originator Email: -unavailable-Open/Closed: Closed
Release: glusterfs 1.3.8 built on Feb 3 2008Operating System: GNU/Linux
Reproducibility: Every Time

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Mon 13 Apr 2009 08:22:30 AM UTC, comment #2:

Problem resolved in 1.3.9

Anonymous
Fri 10 Apr 2009 02:42:03 PM UTC, comment #1:

Sorry, if
# chmod 666 /mnt/cluster/www/html/test
all work, but if
# chmod 660 /mnt/cluster/www/html/test
permission denied. Not work access by group.

Anonymous
Fri 10 Apr 2009 02:37:47 PM UTC, original submission:

/mnt/cluster/ - mount point of glusterfs

# cat /etc/glusterfs/glusterfs-server.vol
volume posix
type storage/posix
option directory /mnt/data/localhost
end-volume

volume locks
type features/posix-locks
subvolumes posix
end-volume

volume brick
type debug/trace
subvolumes locks
end-volume

volume server
type protocol/server
option transport-type tcp/server
option auth.ip.brick.allow 192.168.0.*
subvolumes brick
end-volume

# cat /etc/glusterfs/glusterfs-client.vol
volume remote1
type protocol/client
option transport-type tcp/client
option remote-host node1local
option remote-subvolume brick
end-volume

volume remote2
type protocol/client
option transport-type tcp/client
option remote-host node2local
option remote-subvolume brick
end-volume

volume mirror0
type cluster/afr
subvolumes remote1 remote2
end-volume

# touch /mnt/cluster/www/html/test
# echo '123' > /mnt/cluster/www/html/test
# chown -R apache:apache /mnt/cluster/www
# chmod 666 /mnt/cluster/www/html/test

On both nodes make:
# adduser testuser
# groupmems -a testuser -g apache

After it:
# su -c 'cat /mnt/cluster/www/html/test' testuser
cat: /mnt/cluster/www/html/test: Permission denied

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by gowda (Updated the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Thu 25 Jun 2009 04:31:24 AM UTCgowdaStatusNone=>Fixed
      Originator Name=>-
      Originator Email=>-
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1