Re: How to give read only permissions to a directory ro a user?
From: karim (karim3411_at_11yahoo11.com)
Date: 04/25/03
- Previous message: David Magda: "Re: unix passwords"
- In reply to: Alex: "Re: How to give read only permissions to a directory ro a user?"
- Next in thread: Barry Margolin: "Re: How to give read only permissions to a directory ro a user?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Fri, 25 Apr 2003 14:59:48 GMT
On Thu, 24 Apr 2003 14:16:24 -0400, Alex wrote:
> On Thu, 24 Apr 2003 17:55:54 GMT
> karim <karim3411@11yahoo11.com> wrote:
>
>>
>> I have an existing directory that holds the files for a running
>> application. I created a new user for ftp purposes.
>> How can I give this user read only access to that directory without
>> changing any existing access permissions on that directory?
>> In Windows I can add a user to the ACL and give the user ready only
>> permission. How is this done in Unix?
>>
>> Karim
>
> You need to remove world write permission to the directory. If the directory is not world readable, either make it world readable, or make it readable and not writable by a group to which the new user belongs. chgrp(1) group(5) usermod(8) chmod(1).
>
> --Alex
Thanks but this means changing current permissions. I would rather not do
this because there are applications running that might depend on these
permissions. Plus the vendors might not support the applications if I play
with the permissions.
I will try the setfacl as someone suggested here.
Karim
Recommended host: http://www.cheapesthosting.com - Affordable hosting since
1998
- Previous message: David Magda: "Re: unix passwords"
- In reply to: Alex: "Re: How to give read only permissions to a directory ro a user?"
- Next in thread: Barry Margolin: "Re: How to give read only permissions to a directory ro a user?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|
|