Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

smb issue #74

Open
norbertwie opened this issue Jun 30, 2021 · 0 comments
Open

smb issue #74

norbertwie opened this issue Jun 30, 2021 · 0 comments

Comments

@norbertwie
Copy link

Installed and configured smb on a debian system with the goal to mount it via Windows.

smb-config:

[fuse]
comment = A new share
path = /home/nwietschorke/fuse_mount
browseable = yes
read only = yes
guest ok = yes
valid users = nwietschorke, root

local test on debian system:

smbclient -U nwietschorke //localhost/fuse
WARNING: The "syslog" option is deprecated
Enter nwietschorke's password:
Domain=[WORKGROUP] OS=[Windows 6.1] Server=[Samba 4.5.16-Debian]
smb: > ls
NT_STATUS_ACCESS_DENIED listing *
smb: >

Output on python:

ERROR:root:contains path with: /Root/
ERROR:root:access called!
getattr called with path /
getattr called with path /
ERROR:root:contains path with: /Root/
ERROR:root:statfs called!
ERROR:fuse:Uncaught exception from FUSE operation statfs, returning errno.EINVAL.
Traceback (most recent call last):
File "/usr/local/lib/python3.8/site-packages/fuse.py", line 734, in _wrapper
return func(*args, **kwargs) or 0
File "/usr/local/lib/python3.8/site-packages/fuse.py", line 871, in statfs
attrs = self.operations('statfs', path.decode(self.encoding))
File "/usr/local/lib/python3.8/site-packages/fuse.py", line 1076, in call
return getattr(self, op)(*args)
File "/home/nwietschorke/amos-ss2021-synthetic-file-system-dev/sfs/sfs.py", line 86, in statfs
return BackendManager().get_backend_for_path(path).statfs(path)
File "/home/nwietschorke/amos-ss2021-synthetic-file-system-dev/sfs/backend/mdh/backend.py", line 199, in statfs
raise NotImplementedError()
NotImplementedError
ERROR:root:contains path with: /Root/
ERROR:root:access called!

My system, python, sfs etc. is not set up proper related to root and nwietschorke user rights.
So there might be a mix up of access rights.
If this is the root of this issue close it, please.
Otherwise try to reproduce it on your system and or give further instructions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant