No
was not the solution, i start to get the point now, the directory is the parent of everyting in it, if you have a directory with set permissions on a basic setup the files you put in it will get the same rights(as example).
The directory has the overhand on the files and other directorys in it, so if i give write permissions on a directory you can write in it but you can also delete the directory because the directory simply is a "directing thing" pointing to a certain set of files/directorys that just point out somewhere on the disk.
The idea was to chain the directory in place like holding it tight by some root command/option as where
did that, the problem then was that i could not write in it. simply because
as i read was introduced to hold files in place when updates of root-privileged scripts occurred.
Because the /home/penguin/examplefolder is owned by pinguin itself and the /home/penguin/examplefolder should not be deleted,renamed,chmod-ded but should be written into and deleted out of by the penguin user i made this thread. guessing there is no simple root command that can do this, but in a sort of different approach would be what Ygrex said:
Quote:
i think binding directories is what you want
|
Could solve this since if you mount a folder to a new location as root /undeletablefolders/exmaple1.tld to /home/penguin/example1.tld you should not be able to delete the folder since it is a mount point held by root but privileged by the user