Linux - SoftwareThis 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.
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
I recently configured samba for my slackware 10.1 fileserver. I have a few shares and when I try to write to any of the shares it says that access is denied.
I heard that this error could be cause by ms-chap not be enabled. I couldn't figure out how to enable it in samba. I do not want to send my password plain text. The user name and password is the same on the server and on my windows xp computer.
The server is running Slackware 10.1 and my PC is Windows XP Pro SP2.
this is my smb.conf:
#======================= Global Settings =====================================
workgroup = WORKGROUP
server string = "Slackware Linux 10.1"
log file = /var/log/samba.%m
max log size = 50
socket options = TCP_NODELAY
#============================ Share Definitions ==============================
comment = Home Directories
browseable = no
writable = yes
you do chmod 777 on the directory that is being shared. i'm not quite sure how secure this is as you're giving all users who log onto the system locally access to this directory.
The first thing to look at is the file permissions for the file you are trying to access. If the permissions are, say, 600, then it won't be accessible by anyone other than its owner. Over Samba, that probably won't be you. In my experience, the file must be world-readable (at a minimum) to be accessible over Samba. This seems to be mostly problematic for downloaded files, as the browser may set the permissions to 600 when it saves the file.
I had this same problem, it ended up I had a script ran by root that would backup my files to the share. The files would always say "access denied" no matter what permissions I gave (I tried 777). Ended up root was the owner, and it wouldn't let me access them in the samba share until I changed the owner using "chown share-user ./*"
once the owner of the files was the same as the samba user, I was able to access everything.