trying to make a directory that everyone can see copy to and execute files from
i have a directory name server i want to copy files to it and have everyone to access it and change and execute a file from it on the workstation (windows 7) what would be the i have the chmod set to 0660 and 771 in the smb.conf file debian 8.5
|
You mean a public directory in the server?
|
yes a public that 5 users can use
yes and 5 users can execute a setup file in windows with
|
this is how i have configured
the smb.conf file under group share
[server] comment = all Users path - /home/shares/server valid users = @users force group = users create mask = 0660 directory mask = 0771 writable = yes hope you can help |
I would try:
Code:
[ourdirectory] |
will try that and let you know
Thanks Keefaz will try that i have two tax programs that have to get data from the server. hope this works
|
did not work
tried that and it would not let do anything. the other one in this post will let send files but will not let use them i hope this makes sense.
|
checked permissions for shared dir? Users registered in samba db with smbpasswd?
|
smb password
have not seen a place for password can you give example i have tried the 644 and 755 i have a folder called server that i have files in and can see and map but do not have permission to do anything
|
You have to give write rights for your users in server directory if you want to allow them to change things into it
Maybe by adding a group (groupadd) in the server for them, add each user to this group (usermod), then change server directory permission to 0775 (chmod) and change its group ownership to the new users group (chgrp) |
user grp
where does this go ? in the smb.conf file i amd sorry to so dumb this i first debian or linux i have done windows for last 30 + years
|
Do your 5 users exist in your debian system? If not you have to create them, create a group for them and set the shared server directory permissions so they can write into it
|
users
yes i users created for all 5 users but i don't any place to add a group will read debian again and see if i missed it this may be the problem. i set the passwords again with smbpasswd but it still tells me incorrect password when i try to access from windows.
|
To create a group, just do: ' groupadd workers '
(where workers is the group name) To make jimyoung user member of this group: ' usermod -a -G workers jimyoung ' |
groupadd
thanks Keefaz that sounds easy will try that and let you know
|
All times are GMT -5. The time now is 01:15 AM. |