Folder sharing on Linux

Posted on 2001-07-27
Last Modified: 2010-03-18
I already have my samba server, i can log on with my user name from a Windows client. But i can only access my own folder. How can I access the other users's folders? Can the smb.conf be configured in order to do that? or what else can I do?
Question by:conti
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2

Expert Comment

ID: 6328795
Why don't you create a folder on the linux box that has all the files you want to share with users, and then add that to the bottom of the smb.conf file.  Just follow the examples in the file.

This way things will be easier to manage.

Author Comment

ID: 6334425
kannabis, that is the way i am working. I want to do this:
All the users's folders are in the "home" folder. The "home" folder is already shared (i can see that folder and those that are inside it from a client PC). Each user, obviously, has their own username and password. Also i've stablished quotas for all the users, those quotas are by group ("users" group and "adm" group"). If I login as "johnsmith" i can see all the shared folders, and i can access the "johnsmith" folder (that is inside of "home" folder), but i can't access the "juanperez" user folder (which is in the same "home" folder). I want to have full access to all users's folders.

Expert Comment

ID: 6335853
If you login as "johnsmith" you will have the access privilegdes of "johnsmith". To access everybody's directories you will need root access. You can set this up in your smbusers file but this is a /bad/ idea. Try ssh's scp facility instead (Much more secure)
Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!


Accepted Solution

kannabis earned 100 total points
ID: 6336549
You can also chmod the home directory with 777, this would give anyone permissions to do anything.....not really the best thing to have, but it sounds like you want everyone to be able to do that.

Author Comment

ID: 6337593
Thanks kannabis, i used the chmod 666, but you gave me the greatest idea.

Expert Comment

ID: 6341592

Featured Post

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I have seen several blogs and forum entries elsewhere state that because NTFS volumes do not support linux ownership or permissions, they cannot be used for anonymous ftp upload through the vsftpd program.   IT can be done and here's how to get i…
Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provide…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

726 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question