Samba Server Directory and printer is not accessible
Linux - NewbieThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.....
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.
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
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.