WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Can't modify samba config file as root user - read only  (Read 2777 times)

Offline bigpcman

  • Hero Member
  • *****
  • Posts: 719
Can't modify samba config file as root user - read only
« on: May 01, 2009, 08:29:18 AM »
tc2rc1 testing
It appears the samba config file "/etc/samba/smb.conf.default" that is linked to /tmp...smb.conf.default is read only for all users including root. I tried chmod as root user on it and received read only error message.
big pc man

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14579
Re: Can't modify samba config file as root user - read only
« Reply #1 on: May 01, 2009, 10:04:21 AM »
You need to copy smb.conf.default -> smb.conf (or create another smb.conf) - sorry, I probably should have mentioned this in the info file...

Offline bigpcman

  • Hero Member
  • *****
  • Posts: 719
Re: Can't modify samba config file as root user - read only
« Reply #2 on: May 01, 2009, 01:55:21 PM »
OK, that worked. Another useful reminder could be to remember to set the smb user name and password with the smbpasswd command.
« Last Edit: May 01, 2009, 03:47:34 PM by bigpcman »
big pc man