Page 1 of 1

B2 upgrade to 2.5.0.2 causes readonly on my mac

Posted: 13 Oct 2012, 10:33
by tom.nijns
Hi,

When I connect with my mac as a guest to the public share on my b2, I used to be able to read and write without any problem.
Recently I did a reinstall of the 2.4.1-image and everything worked great. After upgrading to 2.5.0.2, connecting as a guest to the public share on my b2, I can only read.
I suppose some change in the new version is causing this issue.
Any suggestions or solutions?

Re: B2 upgrade to 2.5.0.2 causes readonly on my mac

Posted: 13 Oct 2012, 14:12
by johannes
Sorry you are having problems. I cannot recall any changes regarding that between 2.4.1.1 and 2.5.0.2, so I have to ask for more details:

How do you connect? Using finder (AFP)? Or SAMBA? FTP? Web file manager?
What folder are you trying to write to?

Re: B2 upgrade to 2.5.0.2 causes readonly on my mac

Posted: 14 Oct 2012, 05:41
by tom.nijns
In Finder you'll see "b2" on the left under "Shared". When you click on it, it automatically mounts the "Public share" on my b2 as guest. When using version 2.4.1, I was able to create new folders (it was listed under the right-click-menu) and write files under Public share. After the upgrade, the "New folder"-option and writing capabilities disappeared (as you can see in the attachment).
I suppose mounting the share like this uses AFP.

When connecting with credentials other then guest, I can write, but that's not what I was hoping for.

Re: B2 upgrade to 2.5.0.2 causes readonly on my mac

Posted: 14 Oct 2012, 15:10
by johannes
Thank you. I will take this as a bug report and try to reproduce in our lab. Meanwhile, can anyone else confirm this on 2.5.0.2?

Re: B2 upgrade to 2.5.0.2 causes readonly on my mac

Posted: 14 Oct 2012, 15:28
by tom.nijns
Thank you!

Maybe important to know, in the screenshot I'm using Mountain Lion (10.8), but the problem exists on my mac mini with lion (10.7) as well.

Re: B2 upgrade to 2.5.0.2 causes readonly on my mac

Posted: 16 Jan 2013, 09:48
by tom.nijns
johannes wrote:Thank you. I will take this as a bug report and try to reproduce in our lab. Meanwhile, can anyone else confirm this on 2.5.0.2?
Hi, I updated to the latest version two weeks ago and the problem still exists.

Re: B2 upgrade to 2.5.0.2 causes readonly on my mac

Posted: 16 Jan 2013, 17:56
by nobody
I had this exact problem last week andi did not update bubbaOS. the solution was to change settings for afpd.conf and also for applevolumes.default.

My afpd.conf line now reads

Code: Select all

- -tcp -noddp -uamlist uams_dhx.so,uams_dhx2_passwd.so -nosavepassword -setuplog "default log_info /var/log/afpd.log"
Applevolumes.default

Code: Select all

/home/username "XXXXXX" allow:someusername ea:sys options:usedots,upriv cnidscheme:dbd
The afpd change is documented for other versions of debian as well. It took me bloody forever to get this fixed as all the mac fora are filled with fanboyz saying i should buy a apple time machine instead or that could not reproduce.

Hope this helps

Re: B2 upgrade to 2.5.0.2 causes readonly on my mac

Posted: 18 Jan 2013, 13:48
by tom.nijns
This didn't fix it for me.

Were you able to connect as guest to your public share after this adjustment?

Re: B2 upgrade to 2.5.0.2 causes readonly on my mac

Posted: 18 Jan 2013, 14:10
by nobody
Yes

Re: B2 upgrade to 2.5.0.2 causes readonly on my mac

Posted: 18 Jan 2013, 14:12
by nobody
Did you verify that the folder you are writing to is chmod 777?

Re: B2 upgrade to 2.5.0.2 causes readonly on my mac

Posted: 18 Jan 2013, 14:18
by tom.nijns
I shouldn't have to do that in my opinion. It worked fine running version 2.4.0.1, upgrading to 2.5.0.1 created the read-only-problem. I can connect fine as guest running Linux, so there's no need for 777-permissions on the public share.

Re: B2 upgrade to 2.5.0.2 causes readonly on my mac

Posted: 19 Jan 2013, 13:52
by nobody
Who cares waht you should or should not need to do. Te point is that you verify a simple and obvious issue. Just perform the bloody chmod and see i you can write. Also veify again tht the share mount in /etc/netatalk has the proper permissions entered, evenif they did work before

Guest is not predefined. Did you confirm that linux guest is the same uid as mac guest?

Re: B2 upgrade to 2.5.0.2 causes readonly on my mac

Posted: 20 Jan 2013, 05:14
by tom.nijns
I care. Chmodding a folder to 777 to get write access that might be caused by a bug someplace else, is not a solution for me.
If an excito-admin can confirm that in versions prior to 2.5.0.1 the folder had indeed permissions set to 777, then I'll chmod it, otherwise, this is still a bug that should be solved.

Thank you for your suggestions.

Re: B2 upgrade to 2.5.0.2 causes readonly on my mac

Posted: 20 Jan 2013, 13:26
by nobody
The point is that you try it, and if it does not work you change it back. If it does work you know where to dig deeper. As nobody else experiences this problem it is likely that you did something to induce the issue, and until somebody confirms, it is not a bug.

An ICT teacher like yourself should know how to debug.

Re: B2 upgrade to 2.5.0.2 causes readonly on my mac

Posted: 20 Jan 2013, 13:40
by tom.nijns
Well, as I already mentioned very clearly, the only thing I did to induce this was upgrading my bubba to the latest version. My B2 came back from excito with a clean install of 2.4.0.1 after replacing a failed hard drive. Upon receiving my B2, I connected it to the power and the network, turned it on, checked the guest-connection using my mac, logged on to the webinterface, started the upgrade and lost the possibility to write as guest afterwards.

Also in this thread one of the excito-admin's mentioned they took this as a bugreport, so it was already officialy a bug. I just asked whether there had been an update.

As ICT-teacher I know very well how to debug and having explained in my first paragraph, the only thing that could have caused this issue is the upgrade since I did nothing else but upgrading.