-
Notifications
You must be signed in to change notification settings - Fork 96
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/cifs mount permission issue. #26
Comments
I'm not sure if this is and osync bug or something between your configuration and rsync, and the logs won't be sufficient here. Have you tried to set times and permissions on the files manually as the user running osync ? |
I think that you cannot change the permission or xattr on that drive. I've partial debug log here. not sure if that is helpful... |
Your last gist showed that you already disabled ACL and XATTR copy in configs. Have you tried to test changing perms as root ? If yes, grant your current user more rights on the folder / share via samba. |
This is more complicated than I though... This is related to: local (ocfs2) ---> Remote (smb) local (ocfs2) <--- Remote (smb) (User) don't have permission to change directory time I think we might have to define extra permission according to slave type... |
I've make an ugly patch. I think you have a better way to do it. |
Usually smb allows setting owner, perms and timestamps, especially if you told me it works as root. Not using timestamps is a major drawback because rsync relies on timestamps to know which file is newer, this is definitly not the good way of doing. |
While it's not the best solution, why don't you run osync with sudo privileges, or even as root ? |
Let me think again. |
Any updates ? |
I switch that to dfs without sync...
Under the above 2 restriction... (I think...) Thank you for the help P.s I still think it is good to have ignore users and group permission on the script. Thank again. |
Well, thank you for your explanation. Also, why don't you use osync the way it's designed, sync over ssh instead of over smb ? Anyway, wish you good luck with your case. As for the user / group permissions, not syncing them would be a great drawback for a sync software. What's your point ? If you cannot sync permissions, you cannot sync time changes which is needed for sync software. |
Hello there,
I've some strange permission problem on a smb/cifs mount drive
Slave drive is a smb mount drive which have uid an gid force.
I think there is something need to be done on the permission...
Thank You
Configuration and log below
https://gist.github.com/dcmwai/ae2f9d00258267db29ec
The text was updated successfully, but these errors were encountered: