On Monday 06 October 2008, Steve Holdoway wrote: > On Mon, 06 Oct 2008 15:17:10 +1300 > > Philip Charles <[EMAIL PROTECTED]> wrote: > > On Monday 06 October 2008, [EMAIL PROTECTED] wrote: > > > I have a folder of files that I want to show up in my shared folder > > > for backing up but I only want the files to be read only when > > > viewed from the symbolic link. > > > > > > Is this possible? > > > > Make a hard link to the folder, set the permissions of the copied > > folder to read-only and symlink to it. Symlinks have the permissions > > of the file they point to. > > > > I wonder if this will work? > > > > Phil. > > > > -- > > Philip Charles; 39a Paterson Street, Abbotsford, Dunedin, New > > Zealand +64 3 488 2818 Fax +64 3 488 2875 Mobile 027 > > 663 4453 [EMAIL PROTECTED] - personal. [EMAIL PROTECTED] - > > business > > No. You can only softlink to a directory. > > ):
cp -lpR /dir1 /dir2 I use this for backups against human error. Phil. -- Philip Charles; 39a Paterson Street, Abbotsford, Dunedin, New Zealand +64 3 488 2818 Fax +64 3 488 2875 Mobile 027 663 4453 [EMAIL PROTECTED] - personal. [EMAIL PROTECTED] - business
