Tiny Core Linux
Tiny Core Extensions => TCE Q&A Forum => Topic started by: djmichaelsaler on September 02, 2017, 12:43:25 AM
-
Hi, I'm installed OpenLDAP but when I edit the config file "/usr/local/etc/ldap/ldap.conf" with "sudo vi /usr/...", the vi return message "read only" and I can't edit the file.
-
Try to run
sudo chmod +rw /usr/local/etc/ldap/ldap.conf
to the file, before you edit the file.
-
tc@box:~$ sudo chmod +rw /usr/local/etc/openldap/ldap.conf
chmod: /usr/local/etc/openldap/ldap.conf: Read-only file system
-
You're trying to edit a file that is symlinked from the mounted extension. Replace the symlink with the real file by copying it from the mount point and add it to your backup.
Something like
sudo rm /usr/local/etc/ldap/ldap.conf
sudo cp /tmp/tcloop/openldap/usr/local/etc/ldap/ldap.conf /usr/local/etc/ldap/ldap.conf
sudo vi /usr/local/etc/ldap/ldap.conf
echo "usr/local/etc/ldap/ldap.conf" >> /opt/.filetool.lst
filetool.sh -b