Don: For more detailed control of access to disk resources than that
offered by the time-tested  POSIX owner, group, and others you need to
use the Access Control List facilities offered by the 2.6 kernel
series.

http://www.vanemery.com/Linux/ACL/linux-acl.html

looks like pretty readable prose on the subject.

2008/10/6 Philip Charles <[EMAIL PROTECTED]>:
> 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
>



-- 
Sincerely etc.
Christopher Sawtell

Reply via email to