Page 2 of 2 FirstFirst 12
Results 11 to 12 of 12

Thread: permissions could not be determined

  1. #11
    Join Date
    Dec 2009
    Beans
    5,379

    Re: permissions could not be determined

    Here's the problem. You want to give your remote users access to the shares and you've instructed samba to allow guest access - which it does. But the underlying linux permissions is only allowing you to read and write.

    There's two ways to fix this:
    (1) Mount the drives in fstab with the correct permissions if it's a fat32 or ntfs partition. Or a chmod if it's a ext3/4 partition.
    (2) Or use samba itself to fix this problem:

    Open Terminal
    Type gksu gedit /etc/samba/smb.conf

    Then change this:
    [Drive_1]
    path = /media/Drive_1
    guest ok = Yes

    [Drive_2]
    path = /media/Drive_2
    guest ok = Yes
    To this:
    [Drive_1]
    path = /media/Drive_1
    guest ok = Yes
    force user = tonyw

    [Drive_2]
    path = /media/Drive_2
    guest ok = Yes
    force user = tonyw
    This will create a mask that will make linux think that the remote user is you ( as far as that share is concerned ) since you are the only one who has access to it.

    Save the smb.conf file, exit gedit, and back in the terminal issue a : sudo service samba restart

  2. #12
    Join Date
    Feb 2010
    Beans
    9
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: permissions could not be determined

    THANKS! That took care of the Vista box. Now I need to figure out the problem which I now know is with Windows 7.

Page 2 of 2 FirstFirst 12

Bookmarks

Posting Permissions

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