Il 00:57, giovedì 6 dicembre 2001, Mads Martin Jørgensen ha scritto:
* Praise
[Dec 06. 2001 00:46]: I am just a beginner at shell scripting, but I need to make a script which: 1) hardlinks the content of a directory into another place 2) sets up the correct permissions of files in the other place
I have to do this because the user of my system do a mess when they want to share some file each other.
Well, you maybe want to try another approach to share the files. Why not start an NFS server some place? Or use CVS?
Let me explain my situation: there are about 20 user of my system, mainly with ssh and sftp. There are also 3 users which could use Samba (and they actually do). They need to share with eachother some files: that's easy. They only need to link their files in a common directory and adjust permission. The problem is that they do not want to do that because they are very lazy to learn new commands (they are new to linux). That's why I thought about this script. I have not looked for cvs, because I do not know it yet. I know what it is for, but it is not what I need. Praise