Find the answer to your Linux question:
Results 1 to 4 of 4
Hello i am trying to figure how i can give my windows machine permissions to open a folder on my nas server that has ubuntu server. My windows can see ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Dec 2012
    Posts
    11

    Ubuntu Server - Windows permissions


    Hello i am trying to figure how i can give my windows machine permissions to open a folder on my nas server that has ubuntu server. My windows can see the shared folder and can open the shared folder but can not open anything inside that folder. how can i give my windows permission to do so.

  2. #2
    Trusted Penguin
    Join Date
    May 2011
    Posts
    4,353
    Hi,

    It sounds like you need to properly set up the Samba share on your Ubuntu box. Check out the main configuration file, typically /etc/samba/smb.conf.

    It may be that you already have the share set up, but you also need to add a user. Do this using the smbpasswd command. This user (or a group) needs to be specified in the samba share.

    Also, you need to be sure that the file system permissions of the share are sufficient for the share to be writable.

    Be sure to restart Samba after making changes to the smb.conf file.

    If you need more help, post the samba config file contents, the file permissions of the directory you wish to share, and the samba user name.

  3. #3
    Just Joined!
    Join Date
    Dec 2012
    Posts
    11
    I dunno it was working now i did somthing now i can not get into the folder at all ugh.. New at this linux stuff.. I could take screen shots of Samba if you like of the shared folder if you like.. I am using webmin

  4. #4
    Trusted Penguin
    Join Date
    May 2011
    Posts
    4,353
    a screenshot would be okay, but in this case just copy-pasting the pertinent text into a post would be better.

    show the output of these commands:

    Code:
    # display samba config file
    cat /etc/samba/smb.conf
    Code:
    # show directory permissions
    ls -ld /path/to/samba/share
    Code:
    # see if SELinux is enabled
    getenforce
    be sure to enclose the output in the CODE tags to make it easier to read.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •