Search:

Type: Posts; User: bab1; Keyword(s):

Page 1 of 10 1 2 3 4

Search: Search took 0.22 seconds.

  1. [ubuntu] Re: 16.04 cifs mount (3 of them) refuses to mount at boot but will mount with command

    It's a timing issue. The network is not up when the initial mount command (using fstab) is invoked. This is systemd not Upstart.
  2. Replies
    50
    Views
    1,272

    Re: Samba and file access for guests

    Try this definition (don't forget to restart the smbd daemon)

    [Media]
    comment = Media
    path = /srv/nas/Media
    writeable = yes
    browseable = yes
    valid...
  3. Replies
    50
    Views
    1,272

    Re: Samba and file access for guests

    Try not to reply until you have thought it all out. Edit the post if you need to add additional data.

    The -R is recursive -- no need to do each level.

    Post the share definition you are using.
  4. Replies
    50
    Views
    1,272

    Re: Samba and file access for guests

    I'm sure you don't really mean exactly that. Are you logging in using ssh or samba (the GUI is irrelevant). Read your statement again.


    The permissions were either not set on Ubuntu or you...
  5. Replies
    50
    Views
    1,272

    Re: Samba and file access for guests

    SSH is not a good test of Samba file sharing. You need to use Samba (CIFS/SMB) to access the directories.

    Edit:
    ------

    At the root of the share.
  6. Replies
    50
    Views
    1,272

    Re: Samba and file access for guests

    As you can see the directories (and files inside) are now owned by the user-group users of which both you and your wife are members of.
  7. Replies
    50
    Views
    1,272

    Re: Samba and file access for guests

    The first thing we need to do is change the group ownership with this command
    sudo chgrp -R users /srv/nas/Media
    Again post the output of
    ls -l /srv/nas/Media
    Edit: Then test your wife's account.
  8. Replies
    50
    Views
    1,272

    Re: Samba and file access for guests

    I think the group ownership needs to be tweaked. Let's see what your setting is now. Post the output of this command
    ls l /srv/nas
  9. Replies
    50
    Views
    1,272

    Re: Samba and file access for guests

    I know what to do. I just need to know what happens.
  10. Replies
    50
    Views
    1,272

    Re: Samba and file access for guests

    Most likely we will need to edit the definition tonight. Where are you in the world. I am GMT-7 in California USA.
  11. Replies
    50
    Views
    1,272

    Re: Samba and file access for guests

    Great. So now you can edit the /etc/samba/smb.conf file with nano. Just change the path part in your definition to the current path of /srv/nas and restart the smbd process with this command
    sudo...
  12. Replies
    50
    Views
    1,272

    Re: Samba and file access for guests

    let's do some housekeeping. Post the output of this command
    ls -l /var/lib/samba/usershares
  13. Replies
    50
    Views
    1,272

    Re: Samba and file access for guests

    Now we need to edit the /etc/fstab file to mount the partition at boot time. You need to at this at the bottom of the file

    # NAS partitition mounted at /srv/nas...
  14. Replies
    50
    Views
    1,272

    Re: Samba and file access for guests

    Someone, most likely you, have a directory or file file open from that partiition. Close everything and make sure that you are only in your home directory. Then try again.

    Edit: You may need to...
  15. Replies
    50
    Views
    1,272

    Re: Samba and file access for guests

    Unfortunately I don't know where the information for the present mount of NAS is located. It's not in the fstab file which is processed first so I think we can just ignore what you have done. We...
  16. Replies
    50
    Views
    1,272

    Re: Samba and file access for guests

    Great. Our next task is to mount the NAS partition at its new location. Before we do that I need to know how you mounted that partition originally. What did you do to facilitate that action?
  17. Replies
    50
    Views
    1,272

    Re: Samba and file access for guests

    We add the users (one by one ) with this commanad
    sudo addgroup <user_name> users

    Then post the output again of
    getent group usersYou should see each user listed.
  18. Replies
    50
    Views
    1,272

    Re: Samba and file access for guests

    Perfect! That is all that is needed for the mount point. Now we need to work on the users.

    Post the output of this this command to see the user group we are going to use
    getent group users
  19. Replies
    50
    Views
    1,272

    Re: Samba and file access for guests

    Now change the user group ownership of the directory with this command
    sudo chgrp users /srv/nas...then change the permissions with this command
    sudo chmod 2775 /srv/nas (this also sets the sgid...
  20. Re: Help with samba server no longer mapped or showing from windows

    This sounds like a Windows problem. Is this really the name of the server
    commtechserver The server can't have a name longer than 15 characters.

    If the sever can be accessed in any way then it...
  21. Re: Help with samba server no longer mapped or showing from windows

    I assume you mean "windows sharing" as putty is also a windows application. Can you see the host by browsing to the share?
  22. Replies
    50
    Views
    1,272

    Re: Samba and file access for guests

    The "mount --move" command won't do what you want to do. The partition data is not affected by the mount process. The partition is mounted every time you boot up anyway.

    Yes. You need a mount...
  23. Thread: Help with Samba?

    by bab1
    Replies
    73
    Views
    2,783

    Re: Help with Samba?

    This is not the same problem as the OP. Start a new thread. No PM's pls.
  24. Replies
    50
    Views
    1,272

    Re: Samba and file access for guests

    I think that I have documented exactly what you need here. Read though the thread and see what you think. It's a lot to take in, but you can ask all the questions you want. I will be able to help...
  25. Replies
    50
    Views
    1,272

    Re: Samba and file access for guests

    I think my original post was unclear. No apologies needed. It also looks like there isn't any problem with the smb.conf file (not including the share configs).

    I'd like to see what Samba users...
Results 1 to 25 of 250
Page 1 of 10 1 2 3 4