Re: How to give read only permissions to a directory ro a user?

From: karim (karim3411_at_11yahoo11.com)
Date: 04/25/03

  • Next message: all mail refused: "Re: unix passwords"
    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


  • Next message: all mail refused: "Re: unix passwords"

    Relevant Pages

    • Re: COmpany Web, OWA and VPN not working due to Windows Authentication
      ... > OWA permissions are configured in IIS. ... > confirm the access permissions for the Exchange, Exchweb, and Public ... Also confirm the access permissions for the Default Web site. ...
      (microsoft.public.windows.server.sbs)
    • Re: Server Application unavailable error
      ... account *all* the permissions ASP.NET needs to run. ... Try to give access permissions to ... XP's default ASP.NET identity is the ASPNET account. ...
      (microsoft.public.dotnet.framework.aspnet)
    • Re: [FBSD] chroot(8) FreeBSD, No such file or directory
      ... stat() fails with "Permission denied". ... if you have no access permissions at all for it, ... problem isn't with the permissions of "id" itself. ... I you have OpenBSD and FreeBSD, ...
      (comp.unix.bsd.freebsd.misc)
    • Re: VBS to set folder permissions
      ... Initially when we set up an automatic account generation system I was familiar with VB but hadn't really played around a great deal with VBScript, since then I do nearly everything in VBScript, but since the VB proggy which creates and sets the permissions on their personal directories works I've had no need to rewrite it. ... If not then I need to create the folder on the server and set the permissions correctly. ... but here is the problem: I need to set the folder permissions so that only the administrators group and that person in the AD have full access permissions and nobody else has no access to it. ...
      (microsoft.public.scripting.vbscript)
    • Re: DCOMCNFG nightmare with service
      ... Access Permissions: Administrators have all permissions ... Configuration Permissions: Administrators have all permissions ...
      (microsoft.public.vc.atl)