write permissions for directory - not accidently move/deleted the directory
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
As far as I know, there are three different persmissions: read, write and execute. However, if you are granted a write permission, you will always be able to delete it. (think about it.. if you can write on it.. you can delete what it said or replace it at your own will).
Anyway, the command for changing it is chmod ... you could get more info with a man chmod in the terminal.
I suggest a different approach to the problem. Keep several generations of backup. If you lose yesterday's backup you still have the day before yesterday backup and the lost backup is not a total disaster.
Or you could make two simultaneous backups, one to hard disk and the other to CD-RW.
Originally posted by linuxgamer
I have a program that does incremental backups and deletes the
old ones after 7 days. Each backup is about 15GBx7, so my hard drive
space is large but not enough for 30GBx7 for each backup.
I just need to make sure that the main backup folder does not accidently
get removed by a user.
A work-around would be to deny the
"normal users" read-write access to
the directory in question, but allow
them read-write to the files therein.
That way they can read/write the
contained file/directory, but can't
I am still playing with that stuff and in the process of migrating my WindowZ stuff
to SuSE. It sounds like that will work, but I have not fully tested it yet.
I will need to play with for example: chown user:user
for both /dontremove/writablebackupdirectory