search for: file_chmod

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

2003 May 20
0
Samba 2.2x bits attributes mapped on Linux file permissions
...2x development. But it seems to me that is possible the test write permission in the share *before* to set/clear x bits with root access without let the user always root. isn't it ? the function who's setting attributes is in smbd/dosmode.c:unix_mode(...) An another function called int file_chmod(...) seems to use this manner: check write perms by CAN_WRITE(conn) then ecome_root(); conn->vfs_ops.fchmod(...); unbecome_root(); Best regards
1999 Feb 02
1
Unix permission problems with 'attrib'
Hi, I'm been using Samba for some time and I have been bugged by a problem with SourceSafe. I finally took some time to see what is going on and found the source of the problem (well, not in the source code though). I'm partially responsible, I have Unix files with the following rights "r--rw---" and Samba does not deal with these very well. I am now makind sure that this case
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