-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
files_sharing SMB Share getMountPoint() 6.0.4 Error #9535
Comments
@Xenopathic did you observe this as well ? |
CC @schiesbn |
@PVince81 No, I haven't used sharing in a while |
in Owncloud 7 RC1 is a new version of files_sharing and files_external. |
I don't know why the version number was bumped that high, but I'd recommend against trying to copy the new version to OC 6.0.4. But if there's a specific patch/fix we could try and backport it. |
@grapefruitpower I assume that it worked for you in 6.0.3 and broke in 6.0.4. I'll try and bisect between 6.0.3 and 6.0.4 to see what broke it. |
As user1 I have shared "/smb/subdir" with user2. This bug is confirmed. |
And here we go, bisect result: this is the first breaking commit 9a5da34 Looks like it's the one that obfuscated the password. |
I debugged it a bit and found out that the mount points of "user1" aren't loaded properly when accessing the share from "user2". I believe there has been a similar fix on OC 7 which will need backporting. |
@grapefruitpower fix is here: #9635 Can you help testing ? |
@karlitschek @craigpg setting to OC 6.0.5 |
Note: this is a regression from OC 6.0.3 |
Ah, forgot I fixed this in master. |
it worked well. Thanks a lot. :-) |
Thanks for confirming. 😄 |
Hey folks, I see that this is closed, in a dev environment i had upgraded from 6.0.3 to 6.0.4 to which is where i noticed this problem. I was not sure if I needed to downgrade before upgrading again, so I actually just upgraded the 6.0.4 to 7.0.1 but the problem still exists |
@marxistvegan can you confirm that you have the same setup, used the same steps and same log entries ? If the issue still exists for you it might be a different issue with similar symptoms. |
@PVince81 false positive we had two dev environments and i was using an old one that was not resolved this seems resolved as of now sorry for raising the concern |
Hi there,
we have problems with the App: file_external/files_sharing and mounted SMB shares. Users cant acces "Owncloud shared" Files if they come over SMB after updating from 6.0.3 to 6.0.4.
Test System (new installation but same Error!!!)
OS: ubuntu-server 14.04 LTS
Webserver: Apache2 PHP: 5.5.9 but also with 5.4.8
Owncloud: 6.0.4 (stable)
Focus on: App - file_external, SMB/CIFS
Description:
After mounting the SMB Share SERVER/FOLDER/ROOT with User: DOMAIN\user1. The SMB share is correctly mounted to the system. User1 has access to it. No Problem here.
User1 shares now the smb folder for user2. But user2 cant access the SMB Folder.
Apache2 Error.log - click on share from user2
[Tue Jul 08 05:10:43.282394 2014] [:error] [pid 15243] [client X.X.X.X:53123] PHP Fatal error: Call to a member function getMountPoint() on a non-object in /var/www/owncloud/apps/files_sharing/lib/sharedstorage.php on line 76, referer: http://X.X.X.X/owncloud/index.php/apps/ ... r=/Shared/[SHARED SMB FOLDER]
Some SQL info
OC_STORAGES:
ID:
home::admin
home::user1
home::user2
local::/var/www/owncloud/data/
smb::DOMAIN\user1@SERVER//FOLDER//
The text was updated successfully, but these errors were encountered: