Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I'm using Ubuntu 13.04 (though I've had this same problem on 12.10) and am running Samba with some shares set up so I can run some Windows tools (.exes) directly from the shares. Every Windows computer I've tried to run the programs on from the share give a permission error.

The shares are read-only, have guest access and are created simply through the "Share" tab of Nautilus properties. If I check the box "Allow others to create and delete files in this folder", they are able to execute fine, but this isn't ideal. There's no issue reading any other type of file or even copying the .exes over to a temporary location on the Windows machine and running it. Changing the executable bit makes no difference (desperate!).

Thanks.

share|improve this question
1  
Let me get this straight.. You have set all file and folder permissions correctly and the user has the rights to read write and execute, but it still doesn't work? Could you show what your ls -Al output is on a shared folder? –  Bart.a Jun 27 '13 at 8:00
    
@Bart.a The permissions for everything in the shared folders are rwxrwxrwx with root as the owner (they reside on an NTFS volume mounted by an fstab entry). To make it a bit more clear, my goal is to simply be able to plug a stray Windows machine on to the same network and be able to run myprogram.exe located in \\ubuntu-pc\mypublicshare without having to provide any credentials. I can get as far as navigating to the share on the Windows client, but when I try to run the .exe, I get a permission error from Windows. –  Luke Jun 27 '13 at 11:48
    
Strange.. Could it be you have a configuration error in your smb.conf file? Have you added the value 'guest ok = yes' to your share? I think it's an authentication problem. Would it be a problem to add a samba user without a password? You could log in with that very easily and remember it on each stray machine.. –  Bart.a Jun 27 '13 at 14:22
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.