Page 1 of 2 12 LastLast
Results 1 to 10 of 12

Thread: permissions could not be determined

  1. #1
    Join Date
    Feb 2010
    Beans
    20
    Distro
    Ubuntu 9.10 Karmic Koala

    permissions could not be determined

    I have a server running 9.10 desktop, and previously in version 8, my windows computer could see the 2 additional drives in the server. I installed Samba and shared (what I thought) was everything and I see the files on the main drive, but cannot view the 2 additional drives. I go to the server to try to set permisions, but it says "permissions could not be determined" The windows computer is running 7, but a Vista computer on the same network (which used to see those drives) cannot access them either. Thanks.

  2. #2
    Join Date
    Dec 2009
    Location
    Chennai, India
    Beans
    140
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: permissions could not be determined

    Can you specify how you configured the samba share, by using Nautilus or by manually editing /etc/samba/smb.conf? And also post your smb.conf file if you are using it to configure.

    Can you also specify the samba version you are using?

    You can also try upgrading samba using the following command:

    $ apt-get install samba
    Johnson
    johnson@cssoss.com
    cssoss.wordpress.com

  3. #3
    Join Date
    Feb 2010
    Beans
    20
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: permissions could not be determined

    I used shares-admin from a terminal
    Samba 2:3.4.0-3ubuntu5.4

    [global]
    workgroup = HOME
    security = share

    usershare path = /var/lib/samba/usershares
    usershare max shares = 100
    usershare allow guests = yes
    usershare owner only = yes
    wins support = no

    I obviously only know enough to be dangerous, so please bear with me. Thank you.

  4. #4
    Join Date
    Jan 2007
    Beans
    5,549

    Re: permissions could not be determined

    do post the full content of the smb.conf file

  5. #5
    Join Date
    Feb 2010
    Beans
    20
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: permissions could not be determined

    There are 3 files called "smb.conf" that is the full contects of the one that is NOT called "sample" Am I looking in the wrong place?

    *note on the Windows 7 and the Vista computers, the Ubuntu share says it belongs to "homegroup" but the other belong to "workgroup" I cannot access anything from Windows 7, but can access the filesystem but not the additionals drives from the Vista computer.
    Thank you

  6. #6
    Join Date
    Dec 2009
    Beans
    6,776

    Re: permissions could not be determined

    There is something definitely wrong if that's the extent of your smb.conf file.

    Try this:
    Open Terminal
    Type testparm -s /etc/samba/smb.conf

    This should output a concise smb.conf.

    I installed Samba and shared (what I thought) was everything and I see the files on the main drive, but cannot view the 2 additional drives
    With the smb.conf you last posted you shouldn't have been able to see anything.
    Last edited by Morbius1; February 17th, 2010 at 06:31 PM.

  7. #7
    Join Date
    Feb 2010
    Beans
    20
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: permissions could not be determined

    tonyw@tonyw-desktop:~$ testparm -s /etc/samba/smb.conf
    Load smb config files from /etc/samba/smb.conf
    Processing section "[printers]"
    Processing section "[print$]"
    Processing section "[tonyw]"
    Processing section "[Drive_1]"
    Processing section "[Drive_2]"
    Processing section "[File System]"
    Processing section "[Desktop]"
    Loaded services file OK.
    Server role: ROLE_STANDALONE
    [global]
    workgroup = HOMEGROUP
    server string = %h server (Samba, Ubuntu)
    map to guest = Bad User
    obey pam restrictions = Yes
    pam password change = Yes
    passwd program = /usr/bin/passwd %u
    passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* .
    unix password sync = Yes
    syslog = 0
    log file = /var/log/samba/log.%m
    max log size = 1000
    dns proxy = No
    usershare allow guests = Yes
    panic action = /usr/share/samba/panic-action %d

    [printers]
    comment = All Printers
    path = /var/spool/samba
    create mask = 0700
    printable = Yes
    browseable = No
    browsable = No

    [print$]
    comment = Printer Drivers
    path = /var/lib/samba/printers

    [tonyw]
    path = /home/tonyw
    guest ok = Yes

    [Drive_1]
    path = /media/Drive_1
    guest ok = Yes

    [Drive_2]
    path = /media/Drive_2
    guest ok = Yes

    [File System]
    path = /
    guest ok = Yes

    [Desktop]
    path = /home/tonyw/Desktop
    guest ok = Yes
    tonyw@tonyw-desktop:~$

  8. #8
    Join Date
    Feb 2010
    Beans
    20
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: permissions could not be determined

    Well I was able to change the group to workgroup, but have the same dilemma, but now the conf files has no line saying workgroup = "whatever"
    Last edited by Horsepower; February 17th, 2010 at 09:46 PM.

  9. #9
    Join Date
    Dec 2009
    Beans
    6,776

    Re: permissions could not be determined

    I take it that the following are the two drives that the client cannot see:
    [Drive_1]
    path = /media/Drive_1
    guest ok = Yes

    [Drive_2]
    path = /media/Drive_2
    guest ok = Yes
    Please post the output of the following commands:

    Open Terminal
    Type ls -dl /media/Drive_1
    Type ls -dl /media/Drive_2

  10. #10
    Join Date
    Feb 2010
    Beans
    20
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: permissions could not be determined

    drwx------ 2 tonyw tonyw 16384 1969-12-31 16:00 /media/Drive_1

    drwx------ 2 tonyw tonyw 16384 1969-12-31 16:00 /media/Drive_2

Page 1 of 2 12 LastLast

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
  •