in reply to Re: Re: Setting permissions as text file is created
in thread Setting permissions as text file is created
CC
Updated: Ok, you can't actually delete the file unless you have write access to the directory whihch holds the file. You can, however, blank out the file. For example:
will reduce the file to zero bytes without actually having write access to the directory. The file isn't deleted but it certainly isn't very useful now.> my.file
* if your umask is sane (ie 022) then the sysopen (FILEHANDLE, ">>$filepath",O_CREAT, 0666) will not be inherently insecure.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Setting permissions as text file is created
by Abigail-II (Bishop) on Mar 17, 2004 at 13:47 UTC | |
by coec (Chaplain) on Mar 17, 2004 at 23:15 UTC | |
by Abigail-II (Bishop) on Mar 17, 2004 at 23:42 UTC | |
by Abigail-II (Bishop) on Mar 17, 2004 at 23:52 UTC | |
by coec (Chaplain) on Mar 18, 2004 at 01:19 UTC | |
by Abigail-II (Bishop) on Mar 18, 2004 at 01:48 UTC | |
|
Re: Re: Re: Re: Setting permissions as text file is created
by amw1 (Friar) on Mar 17, 2004 at 16:17 UTC | |
by Hissingsid (Sexton) on Mar 17, 2004 at 17:22 UTC | |
by coec (Chaplain) on Mar 17, 2004 at 23:19 UTC |