fluffos/docs/apply/master/valid_write.md

26 lines
591 B
Markdown
Raw Permalink Normal View History

2018-12-30 16:43:04 -08:00
---
title: master / valid_write
---
2023-11-25 09:50:24 -08:00
# valid_write
2018-12-30 16:43:04 -08:00
### NAME
2018-12-30 16:59:01 -08:00
valid_write - checks if a certain person has write permission on a file
2018-12-30 16:43:04 -08:00
### SYNOPSIS
2018-12-30 16:59:01 -08:00
int valid_write( string file, mixed user, string func );
2018-12-30 16:43:04 -08:00
### DESCRIPTION
2018-12-30 16:59:01 -08:00
2018-12-30 16:43:04 -08:00
Every time a user tries to write a file, thie driver calls valid_write
in the master object to check if the write should be allowed. The
arguments are the filename, the name of the person making the write,
and the calling function name. If valid_write returns non-zero, the
write is allowed.
### SEE ALSO
2018-12-30 16:59:01 -08:00
valid_read(4)