Search code examples
linuxfile-permissionsclouderapermission-denieduser-permissions

unable to modify config files in cloudera Hadoop 4.7 distribution


I was trying to add more properties on hdfs-site.xml , mapred-site.xml , core-site.xml and flume-ng/sample-agent.conf files but. I get message as I don't have privileges to modify the files. But i have logged in using root user cloudera.

i user command as vi <filename> and add properties which ever is required but when i try to save it get above message. I tried to edit using tool gedit also but it also showed me same message.

Please someone guide me on this.

Thanks.


Solution

  • iam able to edit the files by login to root user and command here is SU -