Discussion:
zfs-fuse file permissions problems on CentOS/RHEL 5
(too old to reply)
Edmund White
2011-12-22 12:13:13 UTC
Permalink
I'm working with zfs-fuse <http://zfs-fuse.net/> as a way to provide
filesystem compression on existing CentOS 5 servers. I'm encountering
serious file permission problems with the storage pools.

It seems like zfs-fuse is only partially recognizing file permissions for
non-owners.

I have a zfs-fuse filesystem mounted at /app/november containing files with
permissions of 666 (-rw-rw-rw-) and owner "jack". I can read and
delete them as user "jill". However, I cannot write to those files or save
them. Basically, everything is read-only if I'm not the owner of the files.

Any ideas what's going on?

Package versions:

fuse-2.7.4-8.el5

zfs-fuse-0.6.9_p1-6.20100709git.el5.1

Also see:
http://serverfault.com/questions/342165/zfs-fuse-file-permissions-problems-on-centos-rhel-5
--
To post to this group, send email to zfs-fuse-/***@public.gmane.org
To visit our Web site, click on http://zfs-fuse.net/
Fajar Priyanto
2011-12-22 12:44:32 UTC
Permalink
Hi Edmund. Is it shared through samba? I have similar problem. Pls search my posts.

³ªÀÇ iPhone¿¡Œ­ ºž³¿
I'm working with zfs-fuse as a way to provide filesystem compression on existing CentOS 5 servers. I'm encountering serious file permission problems with the storage pools.
It seems like zfs-fuse is only partially recognizing file permissions for non-owners.
I have a zfs-fuse filesystem mounted at /app/november containing files with permissions of 666 (-rw-rw-rw-) and owner "jack". I can read and delete them as user "jill". However, I cannot write to those files or save them. Basically, everything is read-only if I'm not the owner of the files.
Any ideas what's going on?
fuse-2.7.4-8.el5
zfs-fuse-0.6.9_p1-6.20100709git.el5.1
Also see: http://serverfault.com/questions/342165/zfs-fuse-file-permissions-problems-on-centos-rhel-5
--
To visit our Web site, click on http://zfs-fuse.net/
--
To post to this group, send email to zfs-fuse-/***@public.gmane.org
To visit our Web site, click on http://zfs-fuse.net/
Seth Heeren
2011-12-22 15:24:14 UTC
Permalink
I think this was your question too:
http://serverfault.com/questions/342165/zfs-fuse-file-permissions-problems-on-centos-rhel-5/343495#343495

I posted an answer there, HTH
--
To post to this group, send email to zfs-fuse-/***@public.gmane.org
To visit our Web site, click on http://zfs-fuse.net/
Emmanuel Anne
2011-12-22 17:33:06 UTC
Permalink
The thing added in fuse 2.8 was a much easier way to write the function
groupmember. But here it shouldn't matter since it's permission 0666
(member of the group or not doesn't change anything).
But testing with fuse 2.8 can't do any harm, and it's the best idea we had
so far.
Post by Seth Heeren
http://serverfault.com/questions/342165/zfs-fuse-file-permissions-problems-on-centos-rhel-5/343495#343495
I posted an answer there, HTH
--
To visit our Web site, click on http://zfs-fuse.net/
--
my zfs-fuse git repository :
http://rainemu.swishparty.co.uk/cgi-bin/gitweb.cgi?p=zfs;a=summary
--
To post to this group, send email to zfs-fuse-/***@public.gmane.org
To visit our Web site, click on http://zfs-fuse.net/
Edmund White
2011-12-23 15:29:23 UTC
Permalink
Thank you. I'm having difficulty running the newer releases of fuse
and zfs-fuse for the RHEL 5 platform. I've compiled and updated fuse
(2.8.6) and zfs-fuse (0.7.0), but zfs-fuse complains that the fuse
module is not loaded. fuse.ko is loaded, but it is distributed as part
of the Red Hat kernel. Trying to start the daemon results in:

Starting the ZFS-FUSE daemon: [ OK ]
Waiting for ZFS-FUSE to stabilize: [ OK ]
Immunizing ZFS-FUSE against the OOM killer: [ OK ]
Mounting ZFS filesystems cannot mount 'vol1/app': Input/output error.
Make sure the FUSE module is loaded.
cannot mount 'vol1': Input/output error.
Make sure the FUSE module is loaded.

Any thoughts?
Post by Emmanuel Anne
The thing added in fuse 2.8 was a much easier way to write the function
groupmember. But here it shouldn't matter since it's permission 0666
(member of the group or not doesn't change anything).
But testing with fuse 2.8 can't do any harm, and it's the best idea we had
so far.
http://serverfault.com/questions/342165/zfs-fuse-file-permissions-pro...
I posted an answer there, HTH
--
To visit our Web site, click onhttp://zfs-fuse.net/
--
my zfs-fuse git repository :http://rainemu.swishparty.co.uk/cgi-bin/gitweb.cgi?p=zfs;a=summary
--
To post to this group, send email to zfs-fuse-/***@public.gmane.org
To visit our Web site, click on http://zfs-fuse.net/
Seth Heeren
2011-12-23 16:50:28 UTC
Permalink
Hmmm That indicates the modules is compiled into the kernel. What
kernel version is that? Is there anything you can upgrade to? I can't
remember seeing fuse 2.7.x in ... say a little under 2 years now

Seth
--
To post to this group, send email to zfs-fuse-/***@public.gmane.org
To visit our Web site, click on http://zfs-fuse.net/
Edmund White
2011-12-23 20:32:51 UTC
Permalink
It's the joy of Red Hat... So I'm on RHEL5, which has kernel version
2.6.18-274.7.1 at the moment. Maybe this would be better under RHEL6,
but the systems I need zfs-fuse and proper permissions on are stuck at
RHEL 5 for the moment.
Post by Seth Heeren
Hmmm That indicates the modules is compiled into the kernel. What
kernel version is that? Is there anything you can upgrade to? I can't
remember seeing fuse 2.7.x in ... say a little under 2 years now
Seth
--
To post to this group, send email to zfs-fuse-/***@public.gmane.org
To visit our Web site, click on http://zfs-fuse.net/
vincent-NW4UT3oFr8dBDLzU/
2011-12-31 10:21:46 UTC
Permalink
Post by Edmund White
It's the joy of Red Hat... So I'm on RHEL5, which has kernel version
2.6.18-274.7.1 at the moment. Maybe this would be better under RHEL6,
but the systems I need zfs-fuse and proper permissions on are stuck at
RHEL 5 for the moment.
Hmm,

I'm using zfs-fuse 0.7.0 (Emmanuel's tree) on RHEL5 w/o problems with the
default fuse module. Properly compiling additionnal kernel modules on
RHEL5 is such that you'll usually want to go the DKMS or KMOD route.
However, on RHEL5, I never had to compile an extra fuse layer.

[***@thorbardin vx]# zpool import
pool: iSCSId00pl
id: 4766712291676026485
state: ONLINE
status: The pool was last accessed by another system.
action: The pool can be imported using its name or numeric identifier and
the '-f' flag.
see: http://www.sun.com/msg/ZFS-8000-EY
config:

iSCSId00pl ONLINE
disk/by-path/ip-192.168.128.248:3260-iscsi-iqn.2000-01.com.synology:kalaman.lun01-lun-0 ONLINE
disk/by-path/ip-192.168.128.248:3260-iscsi-iqn.2000-01.com.synology:kalaman.lun02-lun-0 ONLINE
disk/by-path/ip-192.168.128.248:3260-iscsi-iqn.2000-01.com.synology:kalaman.lun05-lun-0 ONLINE
disk/by-path/ip-192.168.128.248:3260-iscsi-iqn.2000-01.com.synology:kalaman.lun03-lun-0 ONLINE

[***@thorbardin vx]# zpool import -f iSCSId00pl

[***@thorbardin vx]# zfs list
NAME USED AVAIL REFER MOUNTPOINT
iSCSId00pl 19.9G 42.6G 19.9G /iSCSId00pl

[***@thorbardin vx]# uname -a
Linux thorbardin.lasthome.solace.krynn 2.6.18-274.12.1.el5 #1 SMP Tue Nov 8 21:37:35 EST 2011 x86_64 x86_64 x86_64 GNU/Linux

[***@thorbardin vx]# rpm -q zfs-fuse
zfs-fuse-0.7.0p1-10.el5.x86_64

My 2c,

Vincent
--
To post to this group, send email to zfs-fuse-/***@public.gmane.org
To visit our Web site, click on http://zfs-fuse.net/
Edmund White
2012-01-05 06:44:00 UTC
Permalink
Post by vincent-NW4UT3oFr8dBDLzU/
Post by Edmund White
It's the joy of Red Hat... So I'm on RHEL5, which has kernel version
2.6.18-274.7.1 at the moment. Maybe this would be better under RHEL6,
but the systems I need zfs-fuse and proper permissions on are stuck at
RHEL 5 for the moment.
Hmm,
I'm using zfs-fuse 0.7.0 (Emmanuel's tree) on RHEL5 w/o problems with the
default fuse module. Properly compiling additionnal kernel modules on
RHEL5 is such that you'll usually want to go the DKMS or KMOD route.
However, on RHEL5, I never had to compile an extra fuse layer.
Have you experienced the permissions issue that I've mentioned in this
thread? Create a file as one user. chmod it to 666. Try to write or
modify the file as another user. It should work, but doesn't seem to.
--
To post to this group, send email to zfs-fuse-/***@public.gmane.org
To visit our Web site, click on http://zfs-fuse.net/
Edmund White
2012-01-24 08:14:07 UTC
Permalink
Did you have an issue with permissions? I still can't get this
working.
Post by vincent-NW4UT3oFr8dBDLzU/
Post by Edmund White
It's the joy of Red Hat... So I'm on RHEL5, which has kernel version
2.6.18-274.7.1 at the moment. Maybe this would be better under RHEL6,
but the systems I need zfs-fuse and properpermissionson are stuck at
RHEL 5 for the moment.
Hmm,
I'm using zfs-fuse 0.7.0 (Emmanuel's tree) on RHEL5 w/o problems with the
default fuse module. Properly compiling additionnal kernel modules on
RHEL5 is such that you'll usually want to go the DKMS or KMOD route.
However, on RHEL5, I never had to compile an extra fuse layer.
   pool: iSCSId00pl
     id: 4766712291676026485
  state: ONLINE
status: The pool was last accessed by another system.
action: The pool can be imported using its name or numeric identifier and
         the '-f' flag.
    see:http://www.sun.com/msg/ZFS-8000-EY
         iSCSId00pl                                                                                 ONLINE
           disk/by-path/ip-192.168.128.248:3260-iscsi-iqn.2000-01.com.synology:kalaman .lun01-lun-0  ONLINE
           disk/by-path/ip-192.168.128.248:3260-iscsi-iqn.2000-01.com.synology:kalaman .lun02-lun-0  ONLINE
           disk/by-path/ip-192.168.128.248:3260-iscsi-iqn.2000-01.com.synology:kalaman .lun05-lun-0  ONLINE
           disk/by-path/ip-192.168.128.248:3260-iscsi-iqn.2000-01.com.synology:kalaman .lun03-lun-0  ONLINE
NAME         USED  AVAIL  REFER  MOUNTPOINT
iSCSId00pl  19.9G  42.6G  19.9G  /iSCSId00pl
Linux thorbardin.lasthome.solace.krynn 2.6.18-274.12.1.el5 #1 SMP Tue Nov 8 21:37:35 EST 2011 x86_64 x86_64 x86_64 GNU/Linux
zfs-fuse-0.7.0p1-10.el5.x86_64
My 2c,
Vincent
--
To post to this group, send email to zfs-fuse-/***@public.gmane.org
To visit our Web site, click on http://zfs-fuse.net/
Loading...