search for: is_dos_dir

Displaying 3 results from an estimated 3 matches for "is_dos_dir".

2002 Nov 27
6
"attrib +R myowndir" fails to write-protect my own dir
A trivial case: executing the following DOS command from the prompt line on a Win2K SP3: %windir%\system32\attrib.exe +R H:\dir can't set the R(eadonly) flag on my home dirs (2.2.7): drwxrwsr-x 4 me users 4096 Nov 27 17:59 . drwxr-sr-x 2 me users 4096 Nov 27 17:59 dir -r--r--r-- 1 me users 0 Nov 27 17:59 empty.txt drwxr-sr-x 2 me users 4096 Nov 27 17:27
2002 Nov 27
0
"attrib +R myowndir" fails to write-protect my owndir
...wxrwsr-x 4 me users 4096 Nov 27 17:59 . >> drwxr-sr-x 2 me users 4096 Nov 27 17:59 dir >> -r--r--r-- 1 me users 0 Nov 27 17:59 empty.txt >> drwxr-sr-x 2 me users 4096 Nov 27 17:27 profile > >This is by design. From the source code : > > if (IS_DOS_DIR(dosmode)) { > /* We never make directories read only for the owner as under DOS a >user > can always create a file in a read-only directory. */ > >Jeremy. >-- >To unsubscribe from this list go to the following URL and read the >instructions: http://lists.samba.org...
1999 Jul 02
1
preexec: return code not used? (PR#18576)
T.D.Lee@durham.ac.uk wrote: > > > But we'd like to go one step further and have the return code from preexec > be used to continue or abort the connection being established. The script > above would be modified to generate this return code. > > Looking through the source code (smbd/service.c), it doesn't seem to check > the return code (calling smbrun to do the