B2 upgrade to 2.5.0.2 causes readonly on my mac

Got problems with your B2 or B3? Share and get helped!
Post Reply
tom.nijns
Posts: 18
Joined: 30 Aug 2010, 12:00

B2 upgrade to 2.5.0.2 causes readonly on my mac

Post by tom.nijns » 13 Oct 2012, 10:33

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?

johannes
Posts: 1470
Joined: 31 Dec 2006, 07:12
Location: Sweden
Contact:

Re: B2 upgrade to 2.5.0.2 causes readonly on my mac

Post by johannes » 13 Oct 2012, 14:12

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?
/Johannes (Excito co-founder a long time ago, but now I'm just Johannes)

tom.nijns
Posts: 18
Joined: 30 Aug 2010, 12:00

Re: B2 upgrade to 2.5.0.2 causes readonly on my mac

Post by tom.nijns » 14 Oct 2012, 05:41

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.
Attachments
screenshot of finderwindow with right-click-menu without "new folder"
screenshot of finderwindow with right-click-menu without "new folder"
Screen Shot 2012-10-14 at 11.27.43.png (98.03 KiB) Viewed 11774 times

johannes
Posts: 1470
Joined: 31 Dec 2006, 07:12
Location: Sweden
Contact:

Re: B2 upgrade to 2.5.0.2 causes readonly on my mac

Post by johannes » 14 Oct 2012, 15:10

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?
/Johannes (Excito co-founder a long time ago, but now I'm just Johannes)

tom.nijns
Posts: 18
Joined: 30 Aug 2010, 12:00

Re: B2 upgrade to 2.5.0.2 causes readonly on my mac

Post by tom.nijns » 14 Oct 2012, 15:28

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.

tom.nijns
Posts: 18
Joined: 30 Aug 2010, 12:00

Re: B2 upgrade to 2.5.0.2 causes readonly on my mac

Post by tom.nijns » 16 Jan 2013, 09:48

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.

nobody
Posts: 226
Joined: 10 Mar 2012, 14:46

Re: B2 upgrade to 2.5.0.2 causes readonly on my mac

Post by nobody » 16 Jan 2013, 17:56

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

tom.nijns
Posts: 18
Joined: 30 Aug 2010, 12:00

Re: B2 upgrade to 2.5.0.2 causes readonly on my mac

Post by tom.nijns » 18 Jan 2013, 13:48

This didn't fix it for me.

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

nobody
Posts: 226
Joined: 10 Mar 2012, 14:46

Re: B2 upgrade to 2.5.0.2 causes readonly on my mac

Post by nobody » 18 Jan 2013, 14:10

Yes

nobody
Posts: 226
Joined: 10 Mar 2012, 14:46

Re: B2 upgrade to 2.5.0.2 causes readonly on my mac

Post by nobody » 18 Jan 2013, 14:12

Did you verify that the folder you are writing to is chmod 777?

tom.nijns
Posts: 18
Joined: 30 Aug 2010, 12:00

Re: B2 upgrade to 2.5.0.2 causes readonly on my mac

Post by tom.nijns » 18 Jan 2013, 14:18

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.

nobody
Posts: 226
Joined: 10 Mar 2012, 14:46

Re: B2 upgrade to 2.5.0.2 causes readonly on my mac

Post by nobody » 19 Jan 2013, 13:52

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?

tom.nijns
Posts: 18
Joined: 30 Aug 2010, 12:00

Re: B2 upgrade to 2.5.0.2 causes readonly on my mac

Post by tom.nijns » 20 Jan 2013, 05:14

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.

nobody
Posts: 226
Joined: 10 Mar 2012, 14:46

Re: B2 upgrade to 2.5.0.2 causes readonly on my mac

Post by nobody » 20 Jan 2013, 13:26

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.

tom.nijns
Posts: 18
Joined: 30 Aug 2010, 12:00

Re: B2 upgrade to 2.5.0.2 causes readonly on my mac

Post by tom.nijns » 20 Jan 2013, 13:40

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.

Post Reply