On Wed, 4 Sep 2002, Javeed SAR wrote: > This will not allow me to had files ??
Please reply to the list. If you are the owner of that directory, retain the write permission for yourself and disable it for everyone else. Is your question "users should be allowed to add files but not directories"? On unix a directory is also a file, you cannot have a separate set of permissions for files and directories. Permissions apply for both. One way is to write a wrapper around shell's mkdir, do your checking there before calling mkdir. But then what if someone does a mkdir from perl, C etc. The best soln IMO is document this some place where the users can see it, have a cron job that monitors this directory and removes sub-directories if present. > > On Wed, 4 Sep 2002, Javeed SAR wrote: > > > Hi all, > > > > How should i avoid creating directories in a particular path? > > For Eg under DSP directory i should not allow any directory to be > created.. > > > > Remove the write permission on this directory. > > > > -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]