Re: Solved: Why can't I write this file?

2004-03-09 Thread Joshua Lokken
* Alex de Kruijff [EMAIL PROTECTED] [2004-03-08 14:24]:
 On Mon, Mar 08, 2004 at 10:27:49PM +0100, Alex de Kruijff wrote:
  Hi,
  
  I just changed the permission and ownership of some files and was denied
  
  cat /etc/passwd
  
  akruijff:*:1001:0:Alex de Kruijff:/home/akruijff:/bin/csh
 
 Sorry I had to relogin instead of just creating a new screen in screen.
 So this is a non-isue.
 

A quicker fix (in csh) is to use 'rehash'.

-- 
It would be illogical to kill without reason
-- Spock, Journey to Babel, stardate 3842.4
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Solved: Why can't I write this file?

2004-03-09 Thread Alex de Kruijff
On Tue, Mar 09, 2004 at 01:13:43PM -0800, Joshua Lokken wrote:
 * Alex de Kruijff [EMAIL PROTECTED] [2004-03-08 14:24]:
  On Mon, Mar 08, 2004 at 10:27:49PM +0100, Alex de Kruijff wrote:
   Hi,
   
   I just changed the permission and ownership of some files and was denied
   
   cat /etc/passwd
   
   akruijff:*:1001:0:Alex de Kruijff:/home/akruijff:/bin/csh
  
  Sorry I had to relogin instead of just creating a new screen in screen.
  So this is a non-isue.
  
 
 A quicker fix (in csh) is to use 'rehash'.

If I am correct, then opening a new shell does the same. So I just
created a new screen (ctrl-a c) in screen (a port). I thougth that would
give me a full shell with the new values. I did try it a couple of times
before finding this very strainge. Then i mailed and then I thougth
about doeing it the hard way (closing all my screens, logout, login,
start screen again.) But it could be that i've done something.

P.S. Tanks to all who helped me.

-- 
Alex

Articles based on solutions that I use:
http://www.kruijff.org/alex/index.php?dir=docs/FreeBSD/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Solved: Why can't I write this file?

2004-03-08 Thread Alex de Kruijff
On Mon, Mar 08, 2004 at 10:27:49PM +0100, Alex de Kruijff wrote:
 Hi,
 
 I just changed the permission and ownership of some files and was denied
 writting to this file even though I'm in the group and the group has
 write permissions. Did I forgot something or is this strange? I thougth
 I should be able to write as user akruijff
 
 ls -loa
 
 drwxrwxr-x   2 www   www   -  512 Mar  8 21:57 ./
 drwxr-xr-x  16 akruijff  akruijff  - 1024 Mar  6 18:48 ../
 -rwxrwxr-x   1 www   www   - 4743 Mar  8 21:52 file.php*
 -rwxrwxr-x   1 www   www   - 2431 Mar  8 21:53 functions.php*
 -rwxrwxr-x   1 www   www   -  299 Mar  7 00:20 preview.php*
 
 
 cat /etc/group
 
 www:*:80:akruijff
 
 
 cat /etc/passwd
 
 akruijff:*:1001:0:Alex de Kruijff:/home/akruijff:/bin/csh

Sorry I had to relogin instead of just creating a new screen in screen.
So this is a non-isue.

-- 
Alex

Articles based on solutions that I use:
http://www.kruijff.org/alex/index.php?dir=docs/FreeBSD/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]