LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 03-24-2009, 09:52 PM   #1
buccaneere
Member
 
Registered: Nov 2007
Posts: 213

Rep: Reputation: 16
Samba automount with full rw permissions...


I have 4 machines; all multiboot.

I want each machine to have full rw access to file shares on each other machine, AND, full rw access to the other partitions on the same machine home folder for UNbooted OS's.

I imagine Samba will NOT handle all these configurations? What else do I have to do, so that, for example, if I have 2 machines on, and I boot up a third machine in another room, it will auto mount the other 2 machines' shares, and it export it's own shares to the other 2 machines?

I want also each machine to have full rw access to shares on the UNbooted partitions of each machine.
 
Old 03-26-2009, 07:21 AM   #2
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
You will need to have the filesystems mounted to be able to access them. If you have the same UID on each machine & each distro then access isn't a problem. If the directory being shared has "o" other read/write permissions, than it would be possible for other users to read & write to the share. If on a remote machine, you don't, you can still use the credentials of the user on the remote machine.

The mount.cifs manpage has details on the options you can use, but don't put the password in the /etc/fstab file. Use a credentials file instead that contains the domain name (if you use a domain controler), username & password.

Using "Security = User" & mounting shares using the cifs filesystem, I'm not certain whether username & password are enough. This is because cifs unlike smbfs supports permissions & acls. You will need to experiment.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
automount permissions for external USB HHD mhg Ubuntu 4 11-25-2009 01:44 AM
how to change automount permissions in Ubuntu mhg Linux - Newbie 6 05-22-2007 08:36 PM
Automount DVD Drive w/ Permissions jerm1701 Linux - General 4 03-02-2006 05:00 PM
Howto set permissions and automount for new drive? andymadigan Debian 4 08-02-2004 10:17 PM
Automount permissions Galizah Mandriva 0 05-07-2004 09:58 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 08:09 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration