neeed to re-create shares

User avatar
sgtfoo
Posts: 419
Joined: Sun Jul 18, 2010 8:27 pm

neeed to re-create shares

Postby sgtfoo » Mon Oct 17, 2011 12:09 pm

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.
SgtFoo
HDA: VM inside oVirt FX-8300 95w (2 cores for HDA), 32GB RAM (2GB for HDA)
My PC: FX-8300, 16GB RAM, 3x 1TB HDDs, Radeon HD6970 2GB video; Win10 Pro x64
Other: PC, Asus 1215n (LXLE), Debian openZFS server (3x(2x2tb) mirrors)
Modem&Network: Thomson DCM475; Asus RT-AC66U; HP 1800-24G switch

apastor
Posts: 175
Joined: Fri Jan 14, 2011 6:58 am

Re: neeed to re-create shares

Postby apastor » Mon Oct 17, 2011 2:52 pm

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.
Proxmox Server: Currently Not Running Amahi
CPU: AMD FX 6100 Six Core
RAM: 8GB DDR3
HDD: 4x1TB RAID10 (Adaptec)

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

Re: neeed to re-create shares

Postby bigfoot65 » Mon Oct 17, 2011 3:25 pm

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
ßîgƒσστ65
Applications Manager

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

User avatar
sgtfoo
Posts: 419
Joined: Sun Jul 18, 2010 8:27 pm

Re: neeed to re-create shares

Postby sgtfoo » Mon Oct 17, 2011 7:09 pm

thanks much gents!

I may have more questions soon!
SgtFoo
HDA: VM inside oVirt FX-8300 95w (2 cores for HDA), 32GB RAM (2GB for HDA)
My PC: FX-8300, 16GB RAM, 3x 1TB HDDs, Radeon HD6970 2GB video; Win10 Pro x64
Other: PC, Asus 1215n (LXLE), Debian openZFS server (3x(2x2tb) mirrors)
Modem&Network: Thomson DCM475; Asus RT-AC66U; HP 1800-24G switch

Who is online

Users browsing this forum: No registered users and 51 guests