WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

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

Offline bigpcman

  • Hero Member
  • *****
  • Posts: 719
Can't modify samba config file as root user - read only
« on: May 01, 2009, 11: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

Online Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14815
Re: Can't modify samba config file as root user - read only
« Reply #1 on: May 01, 2009, 01:04:21 PM »
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, 04: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, 06:47:34 PM by bigpcman »
big pc man