Home > OS > Non-root users how to delete and compressed file
Non-root users how to delete and compressed file
Time:09-29
Linux server root to create a folder in the Log, the inside of the file stored in the TXT format, use common User User login, now need to compress TXT, move to another folder, and delete a TXT file, but a hints file permissions as read-only, unable to operate, using Chmod 777 cannot delete and compression, do you have any good ways? thank you
CodePudding user response:
Change directory belong to groups, chown, directory belong to the root group, ordinary users cannot operate
CodePudding user response:
You can post your operating logs, and file permissions, error content If permission problems, should also be insufficient permissions error, not an error file is read only