New user's registration have been closed due to high spamming and low trafic on this forum. Please contact forum admins directly if you need an account. Thanks !

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 »

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 »

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 »

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 18585 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 »

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 »

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 »

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 »

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 »

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 »

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 »

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 »

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 »

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 »

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 »

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 »

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