LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 05-08-2012, 04:43 AM   #1
Droa
Member
 
Registered: Oct 2011
Location: ~
Distribution: Debian 7
Posts: 60

Rep: Reputation: Disabled
Samba wont give execute permissions to client


So i made a Samba server.

Updater share in my smb.conf

Code:
[Updater]
   valid users updater
   comment = Updater Software
   browseable = yes
   create mask = 0755
   dir mask = 0755
   path = /filer/pxedata/scripts
   guest ok = no
and mounted it with smbfs on my client in the fstab
Code:
//10.0.0.10/updater /updater smbfs user,credentials=/etc/samba/cred-file,uid=root,gid=root,file_mode=0755,dir_mode=0755 0 0
however when i go into /updater on my client, and try to run scripts in it.. it says "-bash: ./ipfinder.sh: Permission denied"

and my script does have +x on it, for uid, gid and all.

how can i make it run this script?
 
Old 05-08-2012, 07:18 AM   #2
Droa
Member
 
Registered: Oct 2011
Location: ~
Distribution: Debian 7
Posts: 60

Original Poster
Rep: Reputation: Disabled
seems to work now, i changed the line
Code:
//10.0.0.10/updater /updater smbfs user,credentials=/etc/samba/cred-file,uid=root,gid=root,file_mode=0755,dir_mode=0755 0 0
to

Code:
//10.0.0.10/updater /updater smbfs credentials=/etc/samba/cred-file,uid=root,gid=root 0 0
 
  


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
[SOLVED] SAMBA client wont follow sym links.. mredward1974 Linux - Software 2 04-14-2010 05:45 PM
Samba client permissions problem jdwilder Linux - Software 5 12-20-2007 01:53 PM
Using a Windows XP client to set permissions on a Samba share Wendellz Linux - Software 2 02-09-2007 09:01 AM
Not able to give execute permissions needanyhelp? Linux - General 4 08-20-2004 06:19 AM
Samba 3 Upgrade Now Client wont connect peterab85 Linux - Networking 4 01-02-2004 06:45 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 08:37 AM.

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