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)
Schedule a Tour of the ATEN booth at InfoComm 2017

Tour the ATEN booth to see the the Latest Addition to the Modular Matrix Switch Series, New 4K HDMI Over IP Extender and more! Enter ATEN's Ultimate Giveaway Sweepstakes for a chance to win one of several great prizes, including an ATEN US7220 2-Port Thunderbolt 2 Sharing Switch!


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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

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…
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…
NetCrunch network monitor is a highly extensive platform for network monitoring and alert generation. In this video you'll see a live demo of NetCrunch with most notable features explained in a walk-through manner. You'll also get to know the philos…

707 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