problem :

Ordinary users echo write file , Insufficient prompt authority .

Solution :

sudo tee test.txt <<< " To insert content "

hadoop More related articles on the problem of insufficient permissions for users to write files

  1. ( Learning path for big data engineers ) First step Linux Basic introduction ---- User and file rights management

    User and file rights management Experiment introduction 1.Linux Created in . Delete user , And user groups . 2.Linux File permission settings in . One .Linux User management Linux It is an operating system that can realize multi-user login , such as “ Li ...

  2. Linux User and file rights management

    Linux User and file rights management

  3. Study in the laboratory building linux Chapter one section three user and file authority management

    User and file rights management Common commands To view the user whoami Create user sudo adduser user name Switch accounts su user name Delete account sudo deluser user name --remove-home View use ...

  4. solaris User and file rights management

    This article was published on 20:45:28 2015/3/22 Republish to zhuxuekui3 solaris User and file rights management 1 Category     「 Website classification 」Oracle One . User and user group management Three types of users : The super user . ...

  5. Linux—— User and file rights management

    2019-07-31 User management To view the user who am i: Open the user name of the current pseudo terminal pts/0 The following number represents the pseudo terminal serial number opened , You can try opening another terminal , And then type in who am i , ...

  6. hadoop fs Manage file permissions

    sudo addgroup Hadoop# Add one hadoop Group sudo usermod -a -G hadoop larry# Add the current user to hadoop Group modify hadoop Directory permissions sudo ch ...

  7. Linux User and file rights management

    This is an original article , Reprint please indicate the source Catalog User management System user files Add users useradd Set user password passwd Delete user userdel User management usermod User group management System user group file add to ...

  8. Linux Basic introduction - User and file rights management

    One .Linux User management : The files of different users are placed on the same physical disk or even in the same logical partition or directory , But because of Linux User management and authority mechanism of , Different users can't easily view . Modify each other's files . 1. To view the user : wh ...

  9. linux user 、 File permissions related commands

    root Modern operating system generally belongs to multi-user operating system , in other words , The same machine can set up accounts for multiple users , Generally these users are ordinary users , These ordinary users can log on to this computer at the same time , The computer allocates certain resources to these users . The average user is at ...

Random recommendation

  1. I can't say enough MVVM(3) &ndash; Let's start with notification properties

    In the first part, we experienced a process from event handler to MVVM The transformation of the program , At the end of the day, there's a question :RaisePropertyChanged What is the principle of ? Today we are going to explore . From the small example in the last section, we know that , Just modify ViewM ...

  2. linux Next syscall function ,SYS_gettid,SYS_tgkill

    Source :http://blog.chinaunix.net/uid-28458801-id-4630215.html     linux Next syscall function ,SYS_gettid,SYS_tgkill  ...

  3. 2012 The second GIS Drawing Contest —— Open class technical problems &amp; Answering question ( Precious resources !)(http://blog.csdn.net/arcgis_all/article/details/8216984)

    After the open class of the drawing competition training , We collect all the technical questions and answer them in a unified way , Now share these information in the blog . Because these problems involve more general contents in cartography , So it's a very precious resource , I hope it can help you . —— Symbols and symbols ...

  4. U Common faults and maintenance of the disk

    commonly U Disk failure is divided into soft failure and hard failure , Among them, soft fault is the most common .  Soft fault mainly refers to U There is a bad piece on the plate , Which leads to U The disk can be recognized by the computer , But no drive letter appears , Or a drive letter appears , But when open U When the disk is opened, you are prompted to format it , And formatting doesn't work . front ...

  5. Linux Redis Auto start ,Redis Boot up ,Linux Redis Set boot up

    Linux Redis Auto start ,Redis Boot up ,Linux Redis Set boot up >>>>>>>>>>>>>> ...

  6. POJ - 3026 Borg Maze( Minimum spanning tree )

    https://vjudge.net/problem/POJ-3026 The question In a y That's ok x In the maze of columns , There's a walkable path ’ ‘, A wall that cannot walk ’#’, There are also two English letters A and S, Now from S set out , Ask for the shortest ...

  7. PHP Medium __toString() What is it?

    __toString()  It's one of the magic methods , The specific purpose is when an object is treated as a string , Will trigger this magic method The following instructions are taken from PHP The official manual public string __toString ( void ...

  8. Ubuntu/Mac Completely solve the mobile phone ADB Identify the problem

    I've written an article about mobile phone recognition before (http://www.cnblogs.com/benhero/p/4202967.html) , But today I'm meeting a special cell phone " meizu "! The previous solution ...

  9. Focus on ASP.NET.4.5.1 MVC5.0 The rebirth of :Web Project voice read page text , Simple voice prompt browsing status

    First step add to SpeechLib.dll download SpeechLib.dll:  In the project and reference DLL using SpeechLib; using System.Threading; The second step Call and use ...

  10. build element-ui Vue structure

    1. Install Taobao image npm install cnpm -g --registry=https://registry.npm.taobao.org 2. install webpack cnpm install web ...