shares write permission, samba speed

melnik
Posts: 44
Joined: Sat Jun 09, 2012 12:13 pm

Re: shares write permission, samba speed

Postby melnik » Mon Jul 09, 2012 7:57 pm

Well reboot did not solve a problem and it seems like newly created user cannot connect to newly created share..
For NIC adapter i have intel e1000 :)

bigmango
Posts: 62
Joined: Wed Aug 31, 2011 11:36 am

Re: shares write permission, samba speed

Postby bigmango » Mon Jul 09, 2012 8:20 pm

Well reboot did not solve a problem and it seems like newly created user cannot connect to newly created share..
Sorry, I haven't installed the Ubuntu amahi yet, so I can't help you with this and will let bigfoot or anyone else chim in.
For NIC adapter i have intel e1000 :)
Intel is part in the linux kernel development which means that their NICs are very well supported. They have released drivers for the e1000 since kernel version 2.2, so as you are now running kernel 3 with Ubuntu I don't think updating the kernel will improve anything for you (there have been fixes in later kernels, but nothing that should change your life in a way that would warrant the trouble of installing a new kernel). You have one of the best supported NICs.

bigmango
Posts: 62
Joined: Wed Aug 31, 2011 11:36 am

Re: shares write permission, samba speed

Postby bigmango » Mon Jul 09, 2012 8:31 pm

This tread might interest you:

Slow transfer between ubuntu 12.04 and network hdd

Code: Select all

Wuhu, it just automitically started working. Must have been an update. Anyone else who can confirm this?
Have you done a system update yet?

melnik
Posts: 44
Joined: Sat Jun 09, 2012 12:13 pm

Re: shares write permission, samba speed

Postby melnik » Mon Jul 09, 2012 8:39 pm

Thank you bigmango, updating system as we speak. at this point my main concern is me being unable to connect to amahi shares with any new users.. will poke around

bigmango
Posts: 62
Joined: Wed Aug 31, 2011 11:36 am

Re: shares write permission, samba speed

Postby bigmango » Mon Jul 09, 2012 9:27 pm

Thank you bigmango, updating system as we speak. at this point my main concern is me being unable to connect to amahi shares with any new users.. will poke around
This should not happen (user accesses should work automatically when set with the amahi web UI). The ubuntu version being in beta I'm sure the devs will take care of this.

You said your samba conf is fine?

What access rights do you see on the shares? With the shell you can list them with "ls -l" and then chown to change the owner and chmod to change the user/group accesses. You can also do this easily with the desktop file manager.

User avatar
bigfoot65
Project Manager
Posts: 11924
Joined: Mon May 25, 2009 4:31 pm

Re: shares write permission, samba speed

Postby bigfoot65 » Tue Jul 10, 2012 5:27 am

Need to verify the permissions and ownership of the shares. If you see anything that is not owned by your initial user or permissions are not 775, that is your issue.

There is a bug for permissions in Ubuntu when creating shares. Hope to see that fixed shortly. But would like to see if this applies to your situation or if it's something new.
ßîgƒσστ65
Applications Manager

My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2

melnik
Posts: 44
Joined: Sat Jun 09, 2012 12:13 pm

Re: shares write permission, samba speed

Postby melnik » Tue Jul 10, 2012 6:03 am

Hi bigfoot65, I did run chown and chmod command as we discussed. If this helps here is a chunk of smb.conf :

[The_Vault]
comment = The_Vault
path = /var/hda/files/thevault
writeable = yes
browseable = yes
create mask = 0775
force create mode = 0664
directory mask = 0775
force directory mode = 0775

dfree command = /usr/bin/greyhole-dfree
vfs objects = greyhole

To bigmango/bigfoot:
Hmm i Just ran the ls -l command and it looks like chown/cmod did not execute properly (oxel007 is my first admin). Will look into this. Here is output


ls -l /var/hda/files/
total 48
drwxrwxr-x 2 oxel007 users 4096 Jun 22 03:18 Backups
drwxrwxr-x 3 oxel007 users 4096 Jul 6 00:36 Books
drwxrwxr-x 2 oxel007 users 4096 Jun 22 03:18 Docs
drwxrwxr-x 6 oxel007 users 4096 Jul 6 00:11 drives
drwxrwxr-x 2 oxel007 users 4096 Jun 22 03:18 Movies
drwxrwxr-x 2 oxel007 users 4096 Jun 22 03:18 Music
drwxrwxr-x 2 oxel007 users 4096 Jun 22 03:18 Pictures
drwxrwxr-x 2 oxel007 users 4096 Jun 22 03:18 Public
drwxrwxr-x 2 oxel007 users 4096 Jul 9 18:40 public
drwxrwxr-x 2 500 users 4096 Jul 9 20:56 test
drwxrwxr-x 6 500 users 4096 Jul 9 18:36 thevault
drwxrwxr-x 2 oxel007 users 4096 Jul 9 22:42 xfiles

Btw i am not blaming anyone for my problems - i just want it to work finally :)

User avatar
bigfoot65
Project Manager
Posts: 11924
Joined: Mon May 25, 2009 4:31 pm

Re: shares write permission, samba speed

Postby bigfoot65 » Tue Jul 10, 2012 6:56 am

Understand. Not looking to assess blame, just clarify the issues. It looks like the last 2 shares are not owned by the correct user. The 500 is done when you create a new share. It is a known bug and being worked.

Easiest way to fix is do:

Code: Select all

sudo chown -R oxel007:users /var/hda/files
Note that you will have to do this everytime you create a new share until the bug is fixed.
ßîgƒσστ65
Applications Manager

My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2

melnik
Posts: 44
Joined: Sat Jun 09, 2012 12:13 pm

Re: shares write permission, samba speed

Postby melnik » Tue Jul 10, 2012 6:07 pm

That did not solve an issue will do clean reinstall

Who is online

Users browsing this forum: No registered users and 66 guests