can access shares but can't write to them on windows

cpeddie
Posts: 39
Joined: Sat Mar 08, 2014 12:05 am

can access shares but can't write to them on windows

Postby cpeddie » Sat May 17, 2014 9:08 am

Hi,

I have the server up and running fine, and can read/write to all the shares with finder on mac, or via ssh/scp on linux. On Windows though, and I can see and read all the shares, but I cannot write to them. It tells me I don't have permission.

I have set up samba to allow guest access for rw on all shares. I have tried using both guest login and my login on the server as the credentials for windows to use, but it always tells me I don't have permission. Is there something magical that needs to get setup on windows in order to write to any of the shares? I have tried both mapping the hda as a network drive and as a network location with same results.

Thanks,
Craig

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

Re: can access shares but can't write to them on windows

Postby bigfoot65 » Sat May 17, 2014 10:12 am

Recommend you check out the wiki guidance.
https://wiki.amahi.org/index.php/Shares_troubleshooting
ßîgƒσστ65
Applications Manager

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

dannyoleson
Posts: 36
Joined: Sun Feb 23, 2014 8:40 pm

Re: can access shares but can't write to them on windows

Postby dannyoleson » Fri Jul 04, 2014 12:04 pm

Hi there - I'm having the same issue and I didn't find anything helpful on the page linked above. I have gotten to the point where I can run chown on any one user and THEY have access, but similar commands for groups don't seem to work. The interesting thing is that this started about the time I tried to install transmission. I've tried removing transmission since, but the group still seems to exist.
My linux-fu has improved greatly in my time using amahi (which I absolutely love), but this situation is making it nearly impossible to use the file shares. Does anyone know of a way I can get these shares accessible again for all users?

Thank you!

[update] So I think I have a temp workaround - chown -r :users /var/hda/files got me most of the way. I have to edit my smb.conf to turn the writeable property of [Pictures] to yes, however, and that appears to get overwritten periodically. Is there a more permanent way to fix that?

Thanks again!

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

Re: can access shares but can't write to them on windows

Postby bigfoot65 » Fri Jul 04, 2014 2:59 pm

Do the following as root user:

Code: Select all

chown -R 1stadminuser:users /var/hda/files
Replace 1stadminuser with the user you initially created when installing Amahi.
I have to edit my smb.conf to turn the writeable property of [Pictures] to yes, however, and that appears to get overwritten periodically. Is there a more permanent way to fix that?
You set the status of read write for shares via the dashboard Shares tab.

If this does not help, then will need more forensics to determine the problem.
ßîgƒσστ65
Applications Manager

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

Who is online

Users browsing this forum: No registered users and 32 guests