Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
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.
SDN 101: An Introduction to Software Defined Networking
Discover the advantages of SDN.
SDN has quickly become one of the hottest trends in IT. But not all SDN solutions offer real software-defined functionality. As more enterprises consider SDN, they want to know, “What is SDN? And what are the real benefits?” If you're ready to explore the advantages of SDN, and want to know how it should be implemented within your enterprise, start by reading our introductory white paper.
Click Here to receive this Complete Guide absolutely free.
We use samba at work to share files from a server machine to machines running Linux and Windows. It works great but if a user creates a new folder, they cannot then write to it without someone sshing into the server and changing the folders permissions.
Can anyone tell me how to configure samba to allow users to write to directories that they have created?
the mask is a octal 3bit setting where it has the opposite effect of chmod permissions. If you do a chmod 777 then it gives rwx, in a mask if you set it to 777 then it removes all three (like a chmod 000). If you set your mask to 222, then it effectivly gives a chmod 555. You will probably want to tinker with it a while to get it the way you want.
I've edited /etc/samba/smb.conf. I picked a share and added create mask = 0000 (figuring this would act like doing a chmod 777). I restarted samba and from a remote machine created a folder, moved into the folder and tried to create a text document and got the error "Access Denied, could not write to .................".
Have a done something wrong should there be a section labelled "share" or do you put the line into the individual shares?
Hmmmmmmmmmmm, I just noticed something else weird. If I create a folder on the samba share as root I can write to it but I get this error if I try to delete it (even though it cannot be busy as all I have done is create it an try to delete it immediately):
mainbox:/mnt/reception# mkdir Test
mainbox:/mnt/reception# rm Test/ -fr
rm: cannot remove directory `Test/': Device or resource busy
I'm sorted now (I hope). The problem was that I hadn't specified a guest account. I've now added "guest account = <<UserName>>" to my smb.conf. Changed all the files in the share to be owned by that user and it all seems to be working OK.