Author: Stan Eisenstat
Subject: Re: CPSC 323 Fiend Questions
Date: Monday, 14 Sep 2020, 21:49:23
> Can we assume that any fileames fiend traverses to (with leading > directories stripped) will not have any '/' slash characters in it? Yes, local filenames may not contain a /. ===== > I had asked a question about file permissions on the newsgroup earlier, but > I'll clarify here. Can we assume that any file that fiend traverses to has > the appropriate permissions for fiend to act on it (e.g. if an -exec > argument writes to a file, will that file have writing permissions)? No. All you may assume is that you can lstat() it, which will allow you to determine its type. --Stan-PREV INDEX NEXT