Page 1 of 1

neeed to re-create shares

Posted: Mon Oct 17, 2011 12:09 pm
by sgtfoo
I think I need to re-create my shares.
It seems like there's a permission issue stopping me from mapping shares in Windows 7.
I have been mucking around with the shared folder permissions, so I deserve the trouble.

Could someone tell me...

If I "delete" a share folder using the web gui, does it actually delete the files/folders from the drives?
If not, then When I recreate the same share, pointing to the same folder, everything should be found as before but with fresh permissions, right?


----The problem I have is that when I try to map shares other than my "torrents" folder (which is chmod'd 777), Windows 7 says "the resource might be misspelled" or similar crap. Really annoying.

Re: neeed to re-create shares

Posted: Mon Oct 17, 2011 2:52 pm
by apastor
Hey sgtfoo
If I "delete" a share folder using the web gui, does it actually delete the files/folders from the drives?
No it will not delete the files, just the share gets removed.
If not, then When I recreate the same share, pointing to the same folder, everything should be found as before but with fresh permissions, right?
It should unless i think you have other permissions set on the folder them selves, before the samba folders.

My torrent folder I can not delete files from there either. But I use transmission, and when Im down with a torrent, I will remove from the app, which then removes it from the drive as well.

Re: neeed to re-create shares

Posted: Mon Oct 17, 2011 3:25 pm
by bigfoot65
Ensure your shares persmissions are chmod 775 and owned by you, i.e. username:users. Best way to do it is:

chmod -R 775 /var/hda/files
chown -R username:users /var/hda/files

Re: neeed to re-create shares

Posted: Mon Oct 17, 2011 7:09 pm
by sgtfoo
thanks much gents!

I may have more questions soon!