From: Paul Vudmaska Date: 2004-03-30T07:06:03+09:00 Subject: Re: creating a directory Edgardo E. Hames wrote: > Paul Vudmaska wrote: > >> Unix / 1.6 >> >> I'm trying to allow clients to create directories for uploading files >> from the web using this command... >> Dir.mkdir(PATH + sFolderPath + folder,0007) >> ^^^^ >> >> It creates the directory but when i try to write to the directory I >> get a permission denied error. Is'nt 0007 read / write and execute >> for everyone? >> > > 0007 is read/write for everyone but the owner/group > What you probably want is 0700 (R/W for the owner). > > Cheers. > Ed > Using 0700 worked , Thank you! I thot 'others' would be what i needed because i'm doing this from the web and so I'm not authenticating( accept with a database and sessions). Now i cant delete the dirs from the command line(ssh). Or from ftp (wftp[interestingly, it shows _All privs_ when i view chmod] and win explorer(xp)[which shows all privs for 'owner' - what i'd expect]. What group did i write it with? Do i have to delete the dirs from the web as well?? Now, it appears, 'the web' is the owner - i cant change anything with the dir. Anyone do something similar(allowing users to upload files and create dirs) I guess what i need is 'all' users and will just cross my finders...i'm making sure the files are only images. thanks, :clueless