LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-01-2017, 01:21 PM   #1
kaplan71
Member
 
Registered: Nov 2003
Posts: 809

Rep: Reputation: 39
User account unable to launch an executable from a Samba share


Hello --

We are running Samba 4.3.11 on an Ubuntu 14.04 server. One of our users is attempting to launch an executable in one of the shares that will install an application over the network. However, whenever he attempts to start the executable, he gets the following error message:

Quote:
Windows cannot access <share>
You do not have permission to access <share>\setup.exe
The user's account is local to the server. I have confirmed that other local user accounts are able to run the executable in question. The user account that is having this problem, has had its password reset, and the Samba and Winbind daemons have been restarted on the server.

The log files do not list any apparent error messages. What other step(s) can I take to correct this problem?

Thanks.
 
Old 08-01-2017, 01:29 PM   #2
TheEzekielProject
Member
 
Registered: Dec 2016
Distribution: arch
Posts: 664

Rep: Reputation: 190Reputation: 190
Quote:
You do not have permission to access <share>\setup.exe
This is the error right here. You have a permissions problem
 
1 members found this post helpful.
Old 08-01-2017, 01:31 PM   #3
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 23,943

Rep: Reputation: 7029Reputation: 7029Reputation: 7029Reputation: 7029Reputation: 7029Reputation: 7029Reputation: 7029Reputation: 7029Reputation: 7029Reputation: 7029Reputation: 7029
Quote:
Originally Posted by kaplan71 View Post
Hello --
We are running Samba 4.3.11 on an Ubuntu 14.04 server. One of our users is attempting to launch an executable in one of the shares that will install an application over the network. However, whenever he attempts to start the executable, he gets the following error message:
Code:
Windows cannot access <share> 
You do not have permission to access <share>\setup.exe
The user's account is local to the server. I have confirmed that other local user accounts are able to run the executable in question. The user account that is having this problem, has had its password reset, and the Samba and Winbind daemons have been restarted on the server. The log files do not list any apparent error messages. What other step(s) can I take to correct this problem?
Since you're getting a very clear message about permissions....how about checking the permissions?? On the directory and the file(s). What group(s) is the user a member of?

You've been posting about/asking about Samba since 2005; it would seem that after twelve years you would have some thoughts on this. As some of your past threads have suggested, checking permissions is the first thing to do, along with SElinux.
 
Old 08-01-2017, 04:47 PM   #4
kaplan71
Member
 
Registered: Nov 2003
Posts: 809

Original Poster
Rep: Reputation: 39
Problem solved: For whatever reason the user account in question was added to the 'invalid users' list. Once the username was removed, the executable was available.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to share user account on cluster Reignfire Linux - Server 1 01-16-2013 07:49 AM
making two distros share one user account newbiesforever Linux - General 7 08-07-2012 09:10 PM
Unable to launch SWAT to configure SAMBA Bobby P Slackware 1 02-27-2007 03:52 PM
Mount SMB Share from user account jeopardyracing Linux - Newbie 3 12-03-2004 05:04 PM
Unable to logon on as non-root user after update as unable to set executable context pls198 Fedora 2 04-09-2004 11:41 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:02 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration