SlackwareThis Forum is for the discussion of Slackware Linux.
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.
I think im having a prob with the config and/or directory permissions. My slack machine was able to join my windows workgroup no problem.
smb.conf:
Code:
[shared]
comment = zomg share
path = /home/tehfatal/shared
public = yes
readable = yes
only guest = no
writable = yes
printable = no
create mask = 0757
1st problem:
I cant create files in //Zomg/tehfatal/share/ but i can view the directory and view a txt file i put in there. The permissions on that directory is 757.
2st problem:
In windows, when i go into workgroup computers and click into the slack machine, 3 folders show up "shared" (which i dont have access to for some reason, "homes" and "tehfatal" (which i do have access to and have identical contents). Did i mess up pdbedit when i added myself?
1. Is it a typo that the config file you have "path = /home/tehfatal/shared" as your shared directory, and when you tried to access it, you use "//Zomg/tehfatal/share/" instead of "//Zomg/tehfatal/shared/" ?
2. In terms of permission setting, I am just wondering, can you set it to 777 instead of 757? It does not make sense that everyone else can edit/modify but people in your group cannot. I think probably this is why that you cannot modify the files under the directory.
3. I am not sure if your windows username and password are identical to that of your linux machine. If you have the same username and password, then your linux box will log you in and use that permission for all the act. If your windows does not use any login and password, then the linux box will treat it as guest. The last number of permission will apply. I still think you should change the permission to 777 instead of 757 if you really want to share that in windows environment.
4. If you would like to have a protected environment, then you better set up a well defined group permission and then set up password and userIDs and make your windows login and password match it. If everything set correctly, even if you have guests, you need not worry someone else will delete your files.
5. Final thing to check, make sure that after modification of your smb setup, restart your samba service to flush the setting.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.