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
  • 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)
VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.


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

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

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…
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.

816 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now