Re: [gentoo-user] setting proper permissions on a file/webserver

2003-07-05 Thread Dan Fairs
[snip] > i did that, but then if a user creates a directory inside that directory, it > has permissions of 755, not 775. so that only works one level deep. man login.defs Check the section on default umask. Cheers, Dan -- Dan Fairs <[EMAIL PROTECTED]> spiderplant.net signature.asc Descript

Re: [gentoo-user] setting proper permissions on a file/webserver

2003-07-04 Thread Christopher Egner
On Fri, 2003-07-04 at 17:02, Gëzim Hoxha wrote: > try to do chown -R nobody.users direcotry Thats a one time fix. He's looking for something that applies to new things as well. Too bad you can't tell nfs to squash rights. -- Christopher In 1968 it took the computing power of 2 C-64's to fly a

Re: [gentoo-user] setting proper permissions on a file/webserver

2003-07-04 Thread Gëzim
> On July 4, 2003 01:55 pm, daniel wrote: > oops, i forgot one step: > > # mkdir directory > # chown nobody.users directory > >>># chmod 4775 directory >> > # exit > $ touch directory/asdf > $ ls -l directory >-rw-r--r--1 username users

Re: [gentoo-user] setting proper permissions on a file/webserver

2003-07-04 Thread Imre Solti
Create .bashrc in username's home directory and put into it: umask 007 Then username will create files that will have -rw-rw---. If you need unique groups then you need I think set up something similar what RH has: http://www.redhat.com/docs/manuals/linux/RHL-7.2-Manual/ref-guide/s1-users-groups-

Re: [gentoo-user] setting proper permissions on a file/webserver

2003-07-04 Thread daniel
On July 4, 2003 01:55 pm, daniel wrote: oops, i forgot one step: # mkdir directory # chown nobody.users directory >> # chmod 4775 directory # exit $ touch directory/asdf $ ls -l directory -rw-r--r--1 username users 0 Jul 4 13:

Re: [gentoo-user] setting proper permissions on a file/webserver

2003-07-04 Thread daniel
On July 4, 2003 01:46 pm, Mike Wojcikiewicz wrote: > > i did that, but then if a user creates a directory inside that directory, > > it has permissions of 755, not 775. so that only works one level deep. > > > > if i could force nfs and to write files with g+w permissions, then i > > could abandon

Re: [gentoo-user] setting proper permissions on a file/webserver

2003-07-04 Thread Mike Wojcikiewicz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Friday 04 July 2003 13:34, daniel wrote: > On July 4, 2003 01:24 pm, Mike Roest wrote: > > daniel wrote: > > > > > > > is there a proper way to do this? ideally, i want to be able to > > > connect via samba, nfs, (development box) and ftp and ssh

Re: [gentoo-user] setting proper permissions on a file/webserver

2003-07-04 Thread daniel
On July 4, 2003 01:24 pm, Mike Roest wrote: > daniel wrote: > > > > is there a proper way to do this? ideally, i want to be able to connect > > via samba, nfs, (development box) and ftp and ssh (live box). > > Create a group and add have them all as members of the group > set group rw on the dire

Re: [gentoo-user] setting proper permissions on a file/webserver

2003-07-04 Thread Mike Roest
daniel wrote: is there a proper way to do this? ideally, i want to be able to connect via samba, nfs, (development box) and ftp and ssh (live box). Create a group and add have them all as members of the group set group rw on the directory. --Mike -- [EMAIL PROTECTED] mailing list

[gentoo-user] setting proper permissions on a file/webserver

2003-07-04 Thread daniel
i'm trying to setup a development server here @work and i've run into a minor snag. what i want is to allow a bunch of different users access to a directory so they can read/write files. but i want each person to have a different login since every once in a while a user leaves the company, and