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.
Can you please assist me on this matter. I have created a samba share for windows guys to be able to load they software. I have updated the smb.conf. I have created a user "user1" and the password. with the user i have created i can access the folder /home/software using the ip address on windows. the problem is when i add other users they can see the folder but they cant access the contacts of that folder.
Centos 5.8
# ----------------------- Network Related Options -------------------------
#
# workgroup = NT-Domain-Name or Workgroup-Name, eg: MIDEARTH
#
# server string is the equivalent of the NT Description field
#
# netbios name can be used to specify a server name not tied to the hostname
#
# Interfaces lets you configure Samba to use multiple interfaces
# If you have multiple network interfaces then you can list the ones
# you want to listen on (never omit localhost)
#
# Hosts Allow/Hosts Deny lets you restrict who can connect, and you can
# specifiy it as a per share option as well
#
workgroup = WORKGROUP
server string = Samba Server Version %v
# --------------------------- Logging Options -----------------------------
# ---------------------------Share Definitions ------------------------------
# A publicly accessible directory, but read only, except for people in
# the "staff" group
; [public]
; comment = Public Stuff
; path = /home/samba
; public = yes
; writable = yes
; printable = no
; write list = +staff
i have also added the users on the /etc/group
goofy:x:500:
lenovo:x:501:
software:x:502:lenovo,Thami,Modise,nkagisang,robbie,reshen,nowellin,clinton,suvan,toka,tinyiko,roy
Thami:x:503:
Modise:x:504:
nkagisang:x:505:
robbie:x:506:
reshen:x:507:
nowellin:x:508:
clinton:x:509:
suvan:x:510:
toka:x:511:
tinyiko:x:512:
roy:x:513:
can you please explain what does "they can see the folder, but cannot access the content" exactly mean?
Probably they can see only the name of the share but cannot log in. You can try to increase log level and see the log files.
the path is like this /home/software/software--->> microsoft office 2000,xp,2003,2007,2010.
they can only go up to this folder /home/software when they try to access /software access denied.
so check the logs and permissions on those directories/files (I mean the real dirs and files, not the samba permissions)
_____________________________________
If someone helps you, or you approve of what's posted, click the "Add to Reputation" button, on the left of the post.
Happy with solution ... mark as SOLVED
(located in the "thread tools")
so the directory /home/software is only readable for the user lenovo and group lenovo. The samba users belong to the group software and it has no any right on this directory. So either you change the ownership of this dir (to lenovo:software) or add read/write/execute permissions to other.
_____________________________________
If someone helps you, or you approve of what's posted, click the "Add to Reputation" button, on the left of the post.
Happy with solution ... mark as SOLVED
(located in the "thread tools")
Distribution: RHEL, CentOS, Debian, Oracle Solaris 10
Posts: 1,420
Rep:
But play safe with giving permissions to others also. You are giving full access to others also. If you require you can limit the access of those directories by setting the permissions accordingly.
Good Luck!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.