Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
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.
I have a server (SuSE 9.2) which contains the folders that should be mounted on
/home/al/Documents and /home/al/Mail
/home/lo/Documents and /home/lo/Mail.
I have an entry in this machines /etc/fstab (SuSE 9.2).
The server on which these folders are:
--------------------------------------------------
# smb.conf is the main Samba configuration file. You find a full commented
# version at /usr/share/doc/packages/samba/examples/smb.conf.SUSE
# Date: 2004-06-03
[global]
workgroup = ANDONET
printing = cups
printcap name = cups
printcap cache time = 750
cups options = raw
printer admin = @ntadmin, root, administrator
username map = /etc/samba/smbusers
map to guest = Bad User
logon path = \\%L\profiles\.msprofile
logon drive = P:
logon home = \\%L\%U\.9xprofile
security = user
encrypt passwords = yes
server string = Samba Server
netbios name = SE
add machine script = /usr/sbin/useradd -c Machine -d /var/lib/nobody -s /bin/false %m$
domain master = yes
domain logons = yes
local master = yes
preferred master = yes
os level = 65
ldap suffix = dc=example,dc=com
[LO-Documents]
path = /home/ed/Users/LO/Documents
comment = Lorenza's Documents
create mask = 0640
force user = ed
public = yes
writeable = yes
browseable = yes
printable = no
[LO-Mail]
path = /home/ed/Users/LO/Mail
comment = Lorenza's Mail
create mask = 0640
force user = ed
public = yes
writeable = yes
browseable = yes
printable = no
[AL-Documents]
path = /home/ed/Users/AL/Documents
comment = Alex's Documents
create mask = 0640
force user = ed
public = yes
writeable = yes
browseable = yes
printable = no
[AL-Mail]
path = /home/ed/Users/AL/Mail
comment = Alex's Documents
create mask = 0640
force user = ed
public = yes
writeable = yes
browseable = yes
printable = no
This used to be working, until recently, when saving a file with OO.o into
the mounted documents, it waits a long time and then says "File I/O Error".
It does create the file anyway...
This was my answer. Havn't got better one. Here's my setup. Server stores all our photos and multimedia files. My wife can work on these photos from her WinXP over Samba. For me same files are accessible via nfs. And for our friends these files are viewable over http. See, same directories are shared using three different services. Leave things where they belong.
Originally posted by Riddick I have a server (SuSE 9.2) which contains the folders that should be mounted on
/home/al/Documents and /home/al/Mail
/home/lo/Documents and /home/lo/Mail.
I have an entry in this machines /etc/fstab (SuSE 9.2).
The server on which these folders are:
--------------------------------------------------
# smb.conf is the main Samba configuration file. You find a full commented
# version at /usr/share/doc/packages/samba/examples/smb.conf.SUSE
# Date: 2004-06-03
[global]
workgroup = ANDONET
printing = cups
printcap name = cups
printcap cache time = 750
cups options = raw
printer admin = @ntadmin, root, administrator
username map = /etc/samba/smbusers
map to guest = Bad User
logon path = \\%L\profiles\.msprofile
logon drive = P:
logon home = \\%L\%U\.9xprofile
security = user
encrypt passwords = yes
server string = Samba Server
netbios name = SE
add machine script = /usr/sbin/useradd -c Machine -d /var/lib/nobody -s /bin/false %m$
domain master = yes
domain logons = yes
local master = yes
preferred master = yes
os level = 65
ldap suffix = dc=example,dc=com
[LO-Documents]
path = /home/ed/Users/LO/Documents
comment = Lorenza's Documents
create mask = 0640
force user = ed
public = yes
writeable = yes
browseable = yes
printable = no
[LO-Mail]
path = /home/ed/Users/LO/Mail
comment = Lorenza's Mail
create mask = 0640
force user = ed
public = yes
writeable = yes
browseable = yes
printable = no
[AL-Documents]
path = /home/ed/Users/AL/Documents
comment = Alex's Documents
create mask = 0640
force user = ed
public = yes
writeable = yes
browseable = yes
printable = no
[AL-Mail]
path = /home/ed/Users/AL/Mail
comment = Alex's Documents
create mask = 0640
force user = ed
public = yes
writeable = yes
browseable = yes
printable = no
This used to be working, until recently, when saving a file with OO.o into
the mounted documents, it waits a long time and then says "File I/O Error".
It does create the file anyway...
What's wrong?
-Riddick
Maybe I'm not understanding the question...
You want to mount those directories mentioned at the very beginning on the 2 different boxes. And you can. But now the problem is when you try to create a new file, you get File I/O Error, or is it when you try to do anything?
Also, those masks are odd, as well as forcing the user 'ed' for everything unless of course you've edited that and 'ed' means 'edit'.
And, as noted above.
NFS is a far better way to share... pretty much anything Linux <--> Linux. SAMBA is great for sharing to another OS, and that's where it shines.
Try downloading the program WinSCP...
You run it, type in your linux computers IP address, then login as a normal user, and it gives you a window to drag files back and forth between the windows and linux computers...
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.