LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-24-2011, 02:55 AM   #1
jitenderana
Member
 
Registered: Jun 2011
Location: INDIA
Posts: 70

Rep: Reputation: Disabled
Samba Server Directory and printer is not accessible


Deal all,

i was configure samba server, in rhel5 server, and creat a share directory with full permission.
configure samba smb.conf file i.e
[sahre dir of samba]
comment = samba dir
path = /smbt (dir name which is create with full permission.
public = yes
writable = yes
printable = no
valid user = jitenderana (samba user name which is creat with smbpasswd command)
createmask = 0777
directory mask = 0777
save and exit the file

In client side
window machine find the linux computer with the help of ip, enter user name and passwd.
server is open and display shared directory.
i opne the sahre smb dir, its open but when i create a new directory on it its give access is dieny error message.

i am not use the samba service....... plz help me what the mistaik i was doing.....

wait for you kind response.......

Regards
Jitender Rana
 
Old 09-25-2011, 05:12 PM   #2
camorri
LQ Guru
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 14.1, 14.2
Posts: 5,090

Rep: Reputation: 483Reputation: 483Reputation: 483Reputation: 483Reputation: 483
Have a look at the permissions and ownership of the directory /smbt. If you want anyone to have write access, you need the correct owenrship and permissons on that directory.

My guess is it is owned by root. If it is, you can not override that with samba configuration.
 
Old 09-26-2011, 12:17 AM   #3
jitenderana
Member
 
Registered: Jun 2011
Location: INDIA
Posts: 70

Original Poster
Rep: Reputation: Disabled
Thank you for your commenting, sir yes this directory is create by root user, but i have give the full permission to this dirtetory, and i am also create a directory by samba user and give the full permission but the problem is same that why????? i am say the directory of root user.

Please guide me what to do now............
wait for your kind response
Regards
Jitender Rana
 
Old 09-26-2011, 07:25 AM   #4
camorri
LQ Guru
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 14.1, 14.2
Posts: 5,090

Rep: Reputation: 483Reputation: 483Reputation: 483Reputation: 483Reputation: 483
Quote:
also create a directory by samba user and give the full permission but the problem is same that why?
What user did you connect to this directory with? Was it the same user? If you want a public share, google for it, you need to map users in your smb.conf file so they belong to the samba user or group. This is my understanding any way.
 
  


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] Can not print to printer on samba share, even though it is accessible? damgar Slackware 3 01-28-2010 11:13 PM
Samba server visible on network intermittent - shares not accessible - UPDATE neoelf Linux - Networking 1 06-17-2009 03:34 AM
Samba - home directory not accessible essdeeay Linux - General 2 03-31-2006 12:59 PM
SAMBA Server not accessible compassmanwi Linux - Networking 3 08-26-2004 08:50 PM
samba server is not accessible mla Linux - Software 5 09-30-2003 05:55 PM


All times are GMT -5. The time now is 10:00 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration