Re: file permission question - AIX 4.3.3

From: cybernut (cybernut@uswest.net)
Date: 04/18/03


From: "cybernut" <cybernut@uswest.net>
Date: Thu, 17 Apr 2003 17:19:41 -0600


"Nicholas Dronen" <ndronen@io.frii.com> wrote in message
news:3e9f1d34$0$53003$75868355@news.frii.net...
> cybernut <cybernut@uswest.net> wrote:
> c> Hey guys,
>
> c> I've got a slight problem and not sure how to deal with it. I suspect
there
> c> is no good answer for me, but wanted to ask around.
>
> c> Let me explain...
>
> c> I have a user that uploads html to our web server running AIX 4.3.3.
This
> c> was arranged before I took over and the user currently uses a ftp
client to
> c> upload the files using the root account. The user does not know the
root
> c> password because the ftp client has it saved, but nonetheless I want to
set
> c> it up so she can upload files under her name and remove the security
hole.
>
> c> The directory she needs write access to has a different owner and a
group
> c> that she does not belong to. I would normally just make her a member of
that
> c> group, but the problem is that group also has access to many other
> c> directories that I don't want her touching either. I also don't really
want
> c> to be changing the owner or groups around just for this.
>
> c> I was wondering if there was some way to give the user group
permissions,
> c> but limit those permissions to only a couple directories out of the
many
> c> that the group has access to.
>
> Use acledit.
>
> Regards,
>
> Nicholas

I'm a novice with unix and have another question about this if you don't
mind.

I set the EDITOR environment variable and used acledit (filename) to change
the permissions. I changed disabled to:
enabled
  permit rwx u:<username>

My problem is the user I am setting this up for cannot browse the directory
let alone write to it. I thought maybe the acl for that directory needs to
be reread again by the system or something. Can you give me some direction
on how to make that happen if that even is the problem?

Thanks



Relevant Pages

  • Re: file creation permissions
    ... > dirA it to have a predefined owner and group for the file created. ... You may want to re-think your upload plan. ... what you want with the existing rules of linux permissions. ... Why do you want to change ownerships? ...
    (Debian-User)
  • Re: impossible for other user to chmod files?
    ... >> not have write permissions and will not be allowed to edit the file. ... If the user is not the owner or in the group of the ... When you upload a file using a PHP script the file permissions of the file ... and will *not* be the user who has FTP access to that particular site. ...
    (comp.lang.php)
  • Re: OT : need help - server permissions issue
    ... despite the fact that the upload folder has its permissions set at 777. ... Owner 10003 just means the original file was owned by a user with that id ...
    (rec.autos.sport.f1)
  • Re: file creation permissions
    ... >> How would I force a newly created file by userA to have the permissions set ... >> dirA it to have a predefined owner and group for the file created. ... >> upload to dirB a different owner and group etc. ... Set the umask appropriately for the desired permissions (I find umask ...
    (Debian-User)
  • Re: Object permissions
    ... Who is the owner of the query? ... permissions does the owner have on the underlying tables? ... does the user have on the query; ... to 'owners' in the sql statement each time the code runs, ...
    (microsoft.public.access.security)