Announcement

Collapse
No announcement yet.

Mounting Network Share via fstab

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Mounting Network Share via fstab

    I have a server (running Ubuntu 6.10) that stores backups, misc files, and --most important-- music. I can only get one user to write to the share -- but all users need r/w access (for obvious reasons).

    The specifics:
    a. Server name: \\server-01
    b. Group access: smb_user (all users are in group)
    c. Credential file kept by root (.password file)
    d. Username/password in credential file is same as one user (user that can r/w)
    e. Current fstab entries:
    //server-01/media /mnt/remote_media smbfs credentials=/root/.smbpasswd,gid=smb_user 0 0
    //server-01/pub /mnt/remote_files smbfs credentials=/root/.smbpasswd,gid=smb_user 0 0

    Please help:
    1. Can/where do I add "r/w" so ALL users have r/w access?
    2. Since it is an Ubuntu server, is there a better mount option? I've read about plain smb and also NFS -- don't know the difference and don't know if it would help.

    Thanks in advance!
    Ernie Grossmann<br />Opening doors, closing Windows.......<br />AMD Athlon X2<br />Asus K8, 2 GB PC 3200 RAM<br />Using Kubutu 10.10

    #2
    Re: Mounting Network Share via fstab

    Originally posted by ernieg92
    //server-01/pub /mnt/remote_files smbfs credentials=/root/.smbpasswd,gid=smb_user 0 0
    Merely an ad-hoc-suggestion:

    Code:
    //server-01/pub /mnt/remote_files smbfs credentials=/root/.smbpasswd,umask=000 0 0
    As for your NFS vs. SMB question:

    for a Linux-only network, NFS could come in handy
    - with Windoze boxes involved, SMB is "mandatory".

    Comment

    Working...
    X