Access Shares, Win7 Problem!

eNZo
Posts: 1
Joined: Thu Feb 10, 2011 2:04 am

Access Shares, Win7 Problem!

Postby eNZo » Mon Aug 29, 2011 3:10 pm

Ok. Here i go. I do not usually post on forums. I almost always find a solution. But this time....i simply can´t. So thanks in advanced for some help!

I switch a couple years ago, from WHS>HDA, and i do like it.
There has been some nasty bugs on the way....and I have run in to some problems before, but its usually been solved.
One thing that i do still have a loot of problems with, is the renaming of folders....when many folders are involved..(I know you are aware of this, and hopefully soon to be roled out as an solution! But this post is not about that...)

So..in short version:
I can´t access my Shares, through Win7 explorer.
Yes: I have read the Troubleshooting, i also have read probably every post 3 times about Shares problem.
I created a new account (lower cases etc), no luck..

I see my folders, in explorer, When prompt for User/Pass... it rejects.. after a couple of times..the famous ErrCode: 0x80070035
I even tried what someone sad, about "cleaning the registry", with no luck..
I now that i can press "CTRL-F5" and have a few new tries..and aslo to mount the share locally..nothing works..

I have looked at the Srv itself (Using TeamV) and the files ARE THERE.

I still just think, it has something to do with Fault permissions to the Folders.
I can access my own folder (named: enzo).
A few weeks ago, i also created a new Folder, called Test..and that worked!!! for a few days??

Ohh....This will be my third week..with forum readings..and hopefully someone can help me.

I am not so good with all commands yet, (as i never used Linux before) so please bare with me, and i would be grateful for all help.

PS. This Forum, is nice to read, as i must say, the Developers are Really active! Nice to see.

Regards

inquam
Posts: 78
Joined: Sat Dec 11, 2010 12:22 pm

Re: Access Shares, Win7 Problem!

Postby inquam » Wed Aug 31, 2011 1:37 am

Hi

I assume your share is part of your storage pool

I have had the same issue and it is indeed the permissions on the files and folders that cause this. The problematic bit is the fact that you have the permissions of the symlinks in /var/hda/files/[share_name], then you have the permissions of the actual files these symlinks point to AND then the permissions of the samba shares to worry about.

My guess is that you copied some files, prehaps as root user, into a shared folder under /var/hda/files/[share_name]?

That was what I had done and it screwed everything up because of the initial permissions of the files being copied. Even going through them and changing the permissions didn't fix it.

Instead do the following.
  • Locate all the files in question on your HDA and follow the symlinks so you get to the actual files as they are placed on the HDD's
  • Copy the actual files (not the symlinks) to a temporary folder somewhere
  • Delete the share from you HDA
  • Recreate the share again with the permission you want
  • Mount the shares locally using /etc/init.d/mount_shares_localy start. Read up on how to set this script up in the wiki if you haven't already done so. Make sure the shares are mounted with the same user you normally use to access the data from your W7 computer.
  • Copy all of the files from the temporary folder you created in step 2 to /mnt/samba/[share_name].
  • Delete temporary folder created in step 2
This would copy your files to your share but instead of doing it directly to /var/hda/files/[share_name] we do it through samba and the correct permissions will be set. You files should now be accessible with the correct user from your W7 computer.

Good luck!
My HDA: Q6400, 8GB ram, 2x1TB disk in raid 1 for system drive, 6x2TB drives for storage

Who is online

Users browsing this forum: No registered users and 22 guests