RE: DOS mode bits missing from Folders

2003-01-23 Thread Esh, Andrew
-Original Message- From: Jean Francois Micouleau [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 22, 2003 3:53 PM To: Pagani Jr, Ronald Cc: Gerald (Jerry) Carter; Esh, Andrew; '[EMAIL PROTECTED]' Subject: Re: DOS mode bits missing from Folders On Wed, 22 Jan 2003

Re: DOS mode bits missing from Folders

2003-01-23 Thread jra
On Wed, Jan 22, 2003 at 10:53:17PM +0100, Jean Francois Micouleau wrote: On Wed, 22 Jan 2003, Pagani Jr, Ronald wrote: Why not store DOS bit modes in an accompanying dot file? (The DOS modes then read by smbd if it (the dot file) exists) this idea has already been bitten to death.

Re: DOS mode bits missing from Folders

2003-01-23 Thread Jean Francois Micouleau
On Thu, 23 Jan 2003 [EMAIL PROTECTED] wrote: On Wed, Jan 22, 2003 at 10:53:17PM +0100, Jean Francois Micouleau wrote: A more elegant solution is to use EA. Yep - that's on my list of things to do for 3.0.x. :-). if I may add, put the DOS bits in the VFS bucket. It will be much

Re: DOS mode bits missing from Folders

2003-01-22 Thread Pagani Jr, Ronald
Why not store DOS bit modes in an accompanying dot file? (The DOS modes then read by smbd if it (the dot file) exists) Ron ;) On Monday, January 20, 2003, at 10:04 AM, Gerald (Jerry) Carter wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Tue, 14 Jan 2003, Esh, Andrew wrote: I have

Re: DOS mode bits missing from Folders

2003-01-20 Thread Gerald (Jerry) Carter
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Tue, 14 Jan 2003, Esh, Andrew wrote: I have a question about the following piece of code in HEAD smbd/dosmode.c, at line 139: if (S_ISDIR(sbuf-st_mode)) result = aDIR | (result aRONLY); This causes the DOS mode HSA

RE: DOS mode bits missing from Folders

2003-01-20 Thread Esh, Andrew
The e(X)exute bits are special on folders. For example, if you remove the archive (user 'x' bit) from a directory, you will not be able to change to that directory. The DOS mode bit stuff really needs a better solution. Yes, thanks. The problem is: The code change I am suggesting is in the

DOS mode bits missing from Folders

2003-01-14 Thread Esh, Andrew
Title: DOS mode bits missing from Folders I have a question about the following piece of code in HEAD smbd/dosmode.c, at line 139: if (S_ISDIR(sbuf-st_mode)) result = aDIR | (result aRONLY); This causes the DOS mode HSA Hidden, System, and Archive bits to be stripped off if a folder