Announcement

Collapse
No announcement yet.

Setting Up Samba - Priviledge problem

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

    Setting Up Samba - Priviledge problem

    Hello Guys.
    I've got a problem when setting up Samba following the steps provided in the following forum:
    http://ubuntuforums.org/showthread.php?t=202605

    When I go ahead and move the smb.conf file through kate, first I get an error is I run it from the Terminal, so I just searched the folder and opened the file manually, Everything good till there. When I click save I get the error that there is no enough space to save. Weird is a fresh install. So I do save as, and place it on desktop. Then I try to delete the blank smd so I can copy past the modded one to the folder. When I confirm the move to trash I get this:
    "Access Denied to /home/santi/.local/share/trash/files/smb.conf"

    I checked the file username and usergroup and appears as root in both.

    Just let me add that I am as new as new can get with Linux. If anybody can help me, it will be greatly apretiated. Thank you very much on advance.

    #2
    Re: Setting Up Samba - Priviledge problem

    As you noted, the file belongs to root, so only "root" can edit, delete, or otherwise manipulate that file. You gain root privileges by using "sudo". Or "su".

    If you browsed to the file and opened it from your browser without first becoming root then it will not let you save it after editing it.

    To open the file for editing as root enter:

    Code:
    kdesu kwrite /etc/samba/smb.conf
    at the the command line in a terminal. This will open the file in kwrite, you can edit it, and save it as root.

    You will find a link to open a terminal under Settings in the main menu. Click on Konsole. You may want to place that on your desktop.

    Comment


      #3
      Re: Setting Up Samba - Priviledge problem

      Thanks. I will go ahead and do that once I can regain access into Kubuntu. It is not loggin in.

      Comment

      Working...
      X