Hi. I've had some difficulty using owfs as a user other than that mounting my 1-wire filesystem. I've followed http://owfs.org/index.php?page=fuse.
It seems that the allow_other in /etc/owfs.conf is ignored. When specified on the command line, all works well. Consider: # owfs --allow_other -m /mnt/1wire -c /etc/owfs.conf --foreground --error_level=9 CONNECT: owfs.c:main(100) fuse mount point: /mnt/1wire CONNECT: ow_avahi_link.c:OW_Load_avahi_library(72) No Avahi support. Library libavahi-client couldn't be loaded CONNECT: ow_dnssd.c:OW_Load_dnssd_library(136) Zeroconf/Bonjour is disabled since dnssd library isn't found CALL: ow_parsename.c:FS_ParsedName_anywhere(95) path=[] DEBUG: owlib.c:SetupTemperatureLimits(79) Globals temp limits 0C 100C (for simulated adapters) DEBUG: ow_net_client.c:ClientAddr(83) IP address=[192.168.99.1] port=[4304] DEBUG: fuse_line.c:Fuse_add(82) Added FUSE option 0 OWFS DEBUG: fuse_line.c:Fuse_add(82) Added FUSE option 1 /mnt/1wire DEBUG: fuse_line.c:Fuse_add(82) Added FUSE option 2 -o DEBUG: fuse_line.c:Fuse_add(82) Added FUSE option 3 direct_io DEBUG: fuse_line.c:Fuse_add(82) Added FUSE option 4 -f DEBUG: fuse_line.c:Fuse_add(82) Added FUSE option 5 -d DEBUG: owfs.c:main(125) fuse_mnt_opt=[(null)] DEBUG: owfs.c:main(127) fuse_open_opt=[(null)] DEBUG: fuse_line.c:Fuse_add(82) Added FUSE option 6 -o DEBUG: fuse_line.c:Fuse_add(82) Added FUSE option 7 allow_other FUSE library version: 2.8.4 nullpath_ok: 0 unique: 1, opcode: INIT (26), nodeid: 0, insize: 56 INIT: 7.16 flags=0x0000007b max_readahead=0x00020000 INIT: 7.12 flags=0x00000011 max_readahead=0x00020000 max_write=0x00020000 unique: 1, success, outsize: 40 # grep 1wire /proc/mounts OWFS /mnt/1wire fuse.OWFS rw,nosuid,nodev,relatime,user_id=0,group_id=0,allow_other 0 0 --------- # owfs -m /mnt/1wire -c /etc/owfs.conf --foreground --error_level=9 CONNECT: owfs.c:main(100) fuse mount point: /mnt/1wire CONNECT: ow_avahi_link.c:OW_Load_avahi_library(72) No Avahi support. Library libavahi-client couldn't be loaded CONNECT: ow_dnssd.c:OW_Load_dnssd_library(136) Zeroconf/Bonjour is disabled since dnssd library isn't found CALL: ow_parsename.c:FS_ParsedName_anywhere(95) path=[] DEBUG: owlib.c:SetupTemperatureLimits(79) Globals temp limits 0C 100C (for simulated adapters) DEBUG: ow_net_client.c:ClientAddr(83) IP address=[192.168.99.1] port=[4304] DEBUG: fuse_line.c:Fuse_add(82) Added FUSE option 0 OWFS DEBUG: fuse_line.c:Fuse_add(82) Added FUSE option 1 /mnt/1wire DEBUG: fuse_line.c:Fuse_add(82) Added FUSE option 2 -o DEBUG: fuse_line.c:Fuse_add(82) Added FUSE option 3 direct_io DEBUG: fuse_line.c:Fuse_add(82) Added FUSE option 4 -f DEBUG: fuse_line.c:Fuse_add(82) Added FUSE option 5 -d DEBUG: owfs.c:main(125) fuse_mnt_opt=[(null)] DEBUG: owfs.c:main(127) fuse_open_opt=[(null)] FUSE library version: 2.8.4 nullpath_ok: 0 unique: 1, opcode: INIT (26), nodeid: 0, insize: 56 INIT: 7.16 flags=0x0000007b max_readahead=0x00020000 INIT: 7.12 flags=0x00000011 max_readahead=0x00020000 max_write=0x00020000 unique: 1, success, outsize: 40 # grep 1wire /proc/mounts OWFS /mnt/1wire fuse.OWFS rw,nosuid,nodev,relatime,user_id=0,group_id=0 0 0 My /etc/owfs.conf looks like: # grep -v "#" /etc/owfs.conf server = 192.168.99.1:4304 owfs: mountpoint = /mnt/1wire owfs: allow_other server: device = /dev/ttyS0 server: port = 0.0.0.0:4304 http: port = 192.168.99.1:4380 Thanks. ~Jacob
signature.asc
Description: PGP signature
------------------------------------------------------------------------------ This SF email is sponsosred by: Try Windows Azure free for 90 days Click Here http://p.sf.net/sfu/sfd2d-msazure
_______________________________________________ Owfs-developers mailing list Owfs-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/owfs-developers