Re: [gentoo-user] Permissions of files created by Apache (2.0.48)

2003-11-10 Thread Matthias F. Brandstetter
-- quoting Jose Gonzalez Gomez --
> Setting UMASK in the apache user environment?

I want to do the same with Apache 1.3 and mod_dav.
How can you set another UMASK value for Apache?

Greetings, Matthias

-- 
I know you're mad at me right now, and I'm kinda mad too ... I mean, we
could sit here and try to figure out who forgot to pick up who till the
cows come home.  But let's just say we're both wrong and that'll be that.

-- Homer Simpson
   Brother from the Same Planet


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Permissions of files created by Apache (2.0.48)

2003-11-10 Thread Jose Gonzalez Gomez
   Setting UMASK in the apache user environment?

Stefano Marinelli wrote:

Hi there. Apache by default creates files with permissions
rw-r--r-- apache dirgroup. I would like to give the write permission to
the group, but I'd like apache to do it automatically when creating
files. How could I set it? Thank you
Stefano

--
[EMAIL PROTECTED] mailing list
 



--
[EMAIL PROTECTED] mailing list


[gentoo-user] Permissions of files created by Apache (2.0.48)

2003-11-05 Thread Stefano Marinelli
Hi there. Apache by default creates files with permissions
rw-r--r-- apache dirgroup. I would like to give the write permission to
the group, but I'd like apache to do it automatically when creating
files. How could I set it? Thank you

Stefano

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] permissions

2003-10-20 Thread Mikhail
On 14:09 Mon 20 Oct , Ryan wrote:
> yup 
> 
> i have no idea why tried everything cant get it deleted

try "chattr -i DIR && rm -rf DIR"

regards,

> 
> 
> On Mon, 20 Oct 2003 08:03:05 -0400
> Barry Marler <[EMAIL PROTECTED]> wrote:
> 
> > rm -rf "dir_name" as root doesn't work?
> > 
> > On 12:47 Mon 20 Oct , Ryan wrote:
> > > morning all
> > > 
> > > i finished installing my box on friday and started to emerge windowmaker before 
> > > i went home .
> > > 
> > > now this morning i have a dir with these permissions 
> > > 
> > > drwxrwxrwx2 root  root  
> > > 
> > > but when i try delete the dir i get permission denied ,any ideas as to how i can 
> > > delete this dir, as windowmaker wont emerge till its gone.
> > > 
> > > thanks ryan
> > > 
> > > --
> > > [EMAIL PROTECTED] mailing list
> > > 
> > 
> > -- 
> > Barry Marler
> > Plant Genome Mapping Laboratory
> > University of Georgia
> > Room 229, Center for Applied Genetic Technologies
> > 111 Riverbend Rd.
> > Athens, GA 30602
> > 706.583.0164 [office]
> > 706.583.0160 [fax]
> > http://www.plantgenome.uga.edu
> > 
> > --
> > [EMAIL PROTECTED] mailing list
> > 
> > 
> 
> --
> [EMAIL PROTECTED] mailing list
> 

-- 
-Miha

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] permissions

2003-10-20 Thread Peter Eis
maybe you have some process still running which has a file open in that dir.
try 'lsof' to check if that is the case and then kill that process
HTH,
Peter
Ryan wrote:

yup 

i have no idea why tried everything cant get it deleted

On Mon, 20 Oct 2003 08:03:05 -0400
Barry Marler <[EMAIL PROTECTED]> wrote:
 

rm -rf "dir_name" as root doesn't work?

On 12:47 Mon 20 Oct , Ryan wrote:
   

morning all

i finished installing my box on friday and started to emerge windowmaker before i went home .

now this morning i have a dir with these permissions 

drwxrwxrwx	2 root	root  

but when i try delete the dir i get permission denied ,any ideas as to how i can delete this dir, as windowmaker wont emerge till its gone.

thanks ryan

--
[EMAIL PROTECTED] mailing list
 

--
Barry Marler
Plant Genome Mapping Laboratory
University of Georgia
Room 229, Center for Applied Genetic Technologies
111 Riverbend Rd.
Athens, GA 30602
706.583.0164 [office]
706.583.0160 [fax]
http://www.plantgenome.uga.edu
--
[EMAIL PROTECTED] mailing list
   

--
[EMAIL PROTECTED] mailing list
 



--
[EMAIL PROTECTED] mailing list


Re: [gentoo-user] permissions

2003-10-20 Thread Ryan
yup 

i have no idea why tried everything cant get it deleted


On Mon, 20 Oct 2003 08:03:05 -0400
Barry Marler <[EMAIL PROTECTED]> wrote:

> rm -rf "dir_name" as root doesn't work?
> 
> On 12:47 Mon 20 Oct , Ryan wrote:
> > morning all
> > 
> > i finished installing my box on friday and started to emerge windowmaker before i 
> > went home .
> > 
> > now this morning i have a dir with these permissions 
> > 
> > drwxrwxrwx  2 root  root  
> > 
> > but when i try delete the dir i get permission denied ,any ideas as to how i can 
> > delete this dir, as windowmaker wont emerge till its gone.
> > 
> > thanks ryan
> > 
> > --
> > [EMAIL PROTECTED] mailing list
> > 
> 
> -- 
> Barry Marler
> Plant Genome Mapping Laboratory
> University of Georgia
> Room 229, Center for Applied Genetic Technologies
> 111 Riverbend Rd.
> Athens, GA 30602
> 706.583.0164 [office]
> 706.583.0160 [fax]
> http://www.plantgenome.uga.edu
> 
> --
> [EMAIL PROTECTED] mailing list
> 
> 

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] permissions

2003-10-20 Thread Roger Miliker
On Monday 20 October 2003 12:47, Ryan wrote:
> morning all
>
> i finished installing my box on friday and started to emerge windowmaker
> before i went home .
>
> now this morning i have a dir with these permissions
>
> drwxrwxrwx2 root  root
>
> but when i try delete the dir i get permission denied ,any ideas as to how
> i can delete this dir, as windowmaker wont emerge till its gone.
>
> thanks ryan
>

Could be filesystem corruption.
fsck!

Good luck

Roger






> --
> [EMAIL PROTECTED] mailing list


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] permissions

2003-10-20 Thread Barry Marler
rm -rf "dir_name" as root doesn't work?

On 12:47 Mon 20 Oct , Ryan wrote:
> morning all
> 
> i finished installing my box on friday and started to emerge windowmaker before i 
> went home .
> 
> now this morning i have a dir with these permissions 
> 
> drwxrwxrwx2 root  root  
> 
> but when i try delete the dir i get permission denied ,any ideas as to how i can 
> delete this dir, as windowmaker wont emerge till its gone.
> 
> thanks ryan
> 
> --
> [EMAIL PROTECTED] mailing list
> 

-- 
Barry Marler
Plant Genome Mapping Laboratory
University of Georgia
Room 229, Center for Applied Genetic Technologies
111 Riverbend Rd.
Athens, GA 30602
706.583.0164 [office]
706.583.0160 [fax]
http://www.plantgenome.uga.edu

--
[EMAIL PROTECTED] mailing list



[gentoo-user] permissions

2003-10-20 Thread Ryan
morning all

i finished installing my box on friday and started to emerge windowmaker before i went 
home .

now this morning i have a dir with these permissions 

drwxrwxrwx  2 root  root  

but when i try delete the dir i get permission denied ,any ideas as to how i can 
delete this dir, as windowmaker wont emerge till its gone.

thanks ryan

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Permissions in /var/tmp was: Keyboard problem

2003-10-06 Thread Paulo da Silva
Niklas Koponen wrote:

...


Ok... more sleep and less computers... I guess. I ran out of space in
/-partition when emerging wine. I had to move the /var/tmp directory to
another place and do a mount --bind. When doing that I guess I screwed
 

Take a look at /etc/make.conf. You can tell emerge which dirs to use.

...



--
[EMAIL PROTECTED] mailing list


Re: [gentoo-user] Permissions in /var/tmp was: Keyboard problem

2003-10-05 Thread Andrew Gaffney
Niklas Koponen wrote:
On Sun, Oct 05, 2003 at 11:13:13PM +0100, Peter Ruskin wrote:

On Sunday 05 Oct 2003 21:55, Niklas Koponen wrote:

Ok... more sleep and less computers... I guess. I ran out of space in
/-partition when emerging wine. I had to move the /var/tmp directory
to another place and do a mount --bind. When doing that I guess I
screwed up the file permissions in /var/tmp. When X started it gave
an error about not being able to write something in /var/tmp. It was
some xkeycompiler or something. I already lost the log. When giving
write permission to the world the keyboard started working fine.
Now the question is that what are the correct permissions in /var/tmp
directory?
$ ls -la /var/tmp
total 44
drwxrwxrwt5 root root 4096 2003-10-03 11:08 .


What does the t in the end mean?
The 't' refers to the 'sticky' bit. This means that only root or the 
owner of a particular file can delete files within that directory.

--
Andrew Gaffney
--
[EMAIL PROTECTED] mailing list


Re: [gentoo-user] Permissions in /var/tmp was: Keyboard problem

2003-10-05 Thread Niklas Koponen
On Sun, Oct 05, 2003 at 11:13:13PM +0100, Peter Ruskin wrote:
> On Sunday 05 Oct 2003 21:55, Niklas Koponen wrote:
> > Ok... more sleep and less computers... I guess. I ran out of space in
> > /-partition when emerging wine. I had to move the /var/tmp directory
> > to another place and do a mount --bind. When doing that I guess I
> > screwed up the file permissions in /var/tmp. When X started it gave
> > an error about not being able to write something in /var/tmp. It was
> > some xkeycompiler or something. I already lost the log. When giving
> > write permission to the world the keyboard started working fine.
> >
> > Now the question is that what are the correct permissions in /var/tmp
> > directory?
> 
> $ ls -la /var/tmp
> total 44
> drwxrwxrwt5 root root 4096 2003-10-03 11:08 .

What does the t in the end mean?

- Niklas
-- 
Niklas Koponen   | Hietapellontie 3 B 7 | [EMAIL PROTECTED]
+358 40 757 1459 | 02400 KIRKKONUMMI| http://www.iki.fi/niklas.koponen


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Permissions in /var/tmp was: Keyboard problem

2003-10-05 Thread Peter Ruskin
On Sunday 05 Oct 2003 21:55, Niklas Koponen wrote:
> Ok... more sleep and less computers... I guess. I ran out of space in
> /-partition when emerging wine. I had to move the /var/tmp directory
> to another place and do a mount --bind. When doing that I guess I
> screwed up the file permissions in /var/tmp. When X started it gave
> an error about not being able to write something in /var/tmp. It was
> some xkeycompiler or something. I already lost the log. When giving
> write permission to the world the keyboard started working fine.
>
> Now the question is that what are the correct permissions in /var/tmp
> directory?

$ ls -la /var/tmp
total 44
drwxrwxrwt5 root root 4096 2003-10-03 11:08 .
drwxr-xr-x   19 root root 4096 2003-07-31 07:08 ..
-rw-r--r--1 root root0 2003-09-17 01:02 .keep
drwxrws---   18 portage  portage  4096 2003-10-05 03:32 ccache
drwxr-xr-x  1022 portage  portage 28672 2003-10-05 03:33 portage
drwxr-xr-x2 root root 4096 2003-04-09 03:33 portage-pkg

Peter
-- 
==
Portage 2.0.49-r3 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1, 
2.4.22_pre2-gss)
i686 AMD Athlon(tm) XP 3200+
==


--
[EMAIL PROTECTED] mailing list



[gentoo-user] Permissions in /var/tmp was: Keyboard problem

2003-10-05 Thread Niklas Koponen
On Sun, Oct 05, 2003 at 11:11:10PM +0300, Niklas Koponen wrote:
> Hi!
> 
> I just emerged my system yesterday. Now I got a problem with the
> keyboard. It's a finnish laptop keyboard. My X configuration that worked
> before the emerge was pc102 layout and language fi.
> 
> Now I'm missing all the keys that are under the "alt gr"-button. The
> keys are {[]}@ and so on. These keys work fine in console mode. 

Ok... more sleep and less computers... I guess. I ran out of space in
/-partition when emerging wine. I had to move the /var/tmp directory to
another place and do a mount --bind. When doing that I guess I screwed
up the file permissions in /var/tmp. When X started it gave an error
about not being able to write something in /var/tmp. It was some
xkeycompiler or something. I already lost the log. When giving write
permission to the world the keyboard started working fine.

Now the question is that what are the correct permissions in /var/tmp
directory?

-Niklas
-- 
Niklas Koponen   | Hietapellontie 3 B 7 | [EMAIL PROTECTED]
+358 40 757 1459 | 02400 KIRKKONUMMI| http://www.iki.fi/niklas.koponen


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Permissions

2003-06-17 Thread Jean Magnan de Bornier
Le mardi 17 juin à 12 h. 25, Alan a écrit notamment:
> On Tue, Jun 17, 2003 at 09:04:53PM +0200, Jean Magnan de Bornier wrote:
> > Hello all,
> > Some questions about permissions:
> > 1/ How come that when I want to see the content of a cdrom I get the message:
> > -Only root may mount /dev/cdroms/cdrom0 (my translation from french)? I
> > have to mount cd's as root and then I can open them as a user. I tried to
> > change permissions on /dev/cdroms/cdrom0 *and* also to make a group for
> > /mnt/cdrom, but nothing works! any idea?
> 
> You have to add "users" into your /etc/fstab line for the cdrom.
> Something like this:
> 
> /dev/cdroms/cdrom0   /mnt/cdrom iso9660 noauto,ro,user0 0
> /dev/cdroms/cdrom1   /mnt/cdrom1iso9660 noauto,ro,user0 0
> 
> Regards,
> 
> alan
et Tom:
> You 
need to add the user(s) that you wish to be able to mount the CDROM to  
> the 'cdrom' group.  
Thanks to both of you, everything os OK  
-- 
Jean Magnan de Bornier
3 Cours Victor Hugo, 13980 Alleins   France
Tel: 04 90 59 33 94Port: 06 09 17 35 87
mèl: jm.bornier*at*free.fr


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Permissions

2003-06-17 Thread Jean Magnan de Bornier
Le mardi 17 juin à 12 h. 58, Pat Kerwan a écrit notamment:
> 
> 
> On Tue, Jun 17, 2003 at 09:04:53PM +0200, Jean Magnan de Bornier wrote:
> > [snip]
> > 2/ Also I tried "crontab -e", and it was a root permission (I did not
> > investigate more), but cannot users have their own crontab (I used to have
> > that with debian btw)?
> 
> If you're using Vixie Cron, there's a couple of things you may want to
> try:
> 
> 1) Add your user to the cron group.

That was it, thank you,

-- 
Jean Magnan de Bornier
3 Cours Victor Hugo, 13980 Alleins   France
Tel: 04 90 59 33 94Port: 06 09 17 35 87
mèl: jm.bornier*at*free.fr


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Permissions

2003-06-17 Thread Pat Kerwan


On Tue, Jun 17, 2003 at 09:04:53PM +0200, Jean Magnan de Bornier wrote:
> [snip]
> 2/ Also I tried "crontab -e", and it was a root permission (I did not
> investigate more), but cannot users have their own crontab (I used to have
> that with debian btw)?

If you're using Vixie Cron, there's a couple of things you may want to
try:

1) Add your user to the cron group.

2) Add users who can run cron jobs to /etc/cron.allow -- you can also
   prevent certain users from running cron jobs by adding them to
   /etc/cron.deny.

I'm not sure whether or not this applies to other cron daemons.  If
not, man crontab will probably tell you all you need to know.

- PK

> Thanks,
> 
> -- 
> Jean Magnan de Bornier
> 3 Cours Victor Hugo, 13980 Alleins   France
> Tel: 04 90 59 33 94Port: 06 09 17 35 87
> m?l: jm.bornier*at*free.fr
> 
> 
> --
> [EMAIL PROTECTED] mailing list


--
[EMAIL PROTECTED] mailing list



RE: [gentoo-user] Permissions

2003-06-17 Thread Condon Thomas A KPWA
Jean Magnan de Bornier wrote:
> Hello all,
> Some questions about permissions:
> 1/ How come that when I want to see the content of a cdrom I get the
> message: 
> -Only root may mount /dev/cdroms/cdrom0 (my translation from french)?
> I have to mount cd's as root and then I can open them as a user. I
> tried to change permissions on /dev/cdroms/cdrom0 *and* also to make
> a group for /mnt/cdrom, but nothing works! any idea?
> 2/ Also I tried "crontab -e", and it was a root permission (I did not
> investigate more), but cannot users have their own crontab (I used to
> have that with debian btw)?
> Thanks,
> 
> --
> Jean Magnan de Bornier
> 3 Cours Victor Hugo, 13980 Alleins   France
> Tel: 04 90 59 33 94Port: 06 09 17 35 87
> mèl: jm.bornier*at*free.fr

You need to add the user(s) that you wish to be able to mount the CDROM to
the 'cdrom' group.


In Harmony's Way, and In A Chord,

Tom  :-})

Thomas A. Condon
Barbershop Bass Singer
Registered Linux User #154358
A Jester Unemployed

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Permissions

2003-06-17 Thread Alan
On Tue, Jun 17, 2003 at 09:04:53PM +0200, Jean Magnan de Bornier wrote:
> Hello all,
> Some questions about permissions:
> 1/ How come that when I want to see the content of a cdrom I get the message:
> -Only root may mount /dev/cdroms/cdrom0 (my translation from french)? I
> have to mount cd's as root and then I can open them as a user. I tried to
> change permissions on /dev/cdroms/cdrom0 *and* also to make a group for
> /mnt/cdrom, but nothing works! any idea?

You have to add "users" into your /etc/fstab line for the cdrom.
Something like this:

/dev/cdroms/cdrom0   /mnt/cdrom iso9660 noauto,ro,user0 0
/dev/cdroms/cdrom1   /mnt/cdrom1iso9660 noauto,ro,user0 0

Regards,

alan
-- 
Alan <[EMAIL PROTECTED]> - http://arcterex.net

"There are only 3 real sports: bull-fighting, car racing and mountain 
climbing. All the others are mere games."-- Hemingway

--
[EMAIL PROTECTED] mailing list



[gentoo-user] Permissions

2003-06-17 Thread Jean Magnan de Bornier
Hello all,
Some questions about permissions:
1/ How come that when I want to see the content of a cdrom I get the message:
-Only root may mount /dev/cdroms/cdrom0 (my translation from french)? I
have to mount cd's as root and then I can open them as a user. I tried to
change permissions on /dev/cdroms/cdrom0 *and* also to make a group for
/mnt/cdrom, but nothing works! any idea?
2/ Also I tried "crontab -e", and it was a root permission (I did not
investigate more), but cannot users have their own crontab (I used to have
that with debian btw)?
Thanks,

-- 
Jean Magnan de Bornier
3 Cours Victor Hugo, 13980 Alleins   France
Tel: 04 90 59 33 94Port: 06 09 17 35 87
mèl: jm.bornier*at*free.fr


--
[EMAIL PROTECTED] mailing list