search for: s_iread

Displaying 5 results from an estimated 5 matches for "s_iread".

Did you mean: _read
2002 Jun 27
2
Samba 2.2.5 Recycle Bin file permissions
Using Samba 2.2.5 on FreeBSD 4.5. We have a file share used by several people working on common projects. The share is set up with force group = cad create mask = 0774 force create mode = 0774 directory mask = 0775 force directory mode = 0775 so that everyone can create/modify any file in the share. The new VFS recycle bin, however, sets the file
2001 Mar 17
1
ogg123 doesn't destroy shm segment
...stat.h> #include <sys/time.h> #include <unistd.h> /* for fork and pipe*/ #include <fcntl.h> @@ -76,7 +75,7 @@ /* Get the shared memory segment. */ int shmid = shmget (IPC_PRIVATE, sizeof(buf_t) + sizeof (chunk_t) * (size - 1), - IPC_CREAT|S_IREAD|S_IWRITE); + IPC_CREAT|SHM_R|SHM_W); if (shmid == -1) { @@ -92,7 +91,10 @@ perror ("shmat"); exit (1); } - + + /* Remove segment after last process detaches it or terminates. */ + shmctl(shmid, IPC_RMID, 0); + buffer_init (buf, size); /* Crea...
2010 Oct 08
3
[Announce] Samba 3.5.6 Available for Download
...module build as shared. * BUG 7531: Fix the charset_pull routine. * BUG 7635: Fix 'smbclient -M'. * BUG 7656: Fix scalability problem with hundreds of printers. * BUG 7684: Fix fd leak in libwbclient.so. * BUG 7688: Fix crash bug in rpcclient. * BUG 7470: Standardize S_IREAD and S_IWRITE. * BUG 7715: Fix file corruption when setting Samba "write wache wize". o Jim McDonough <jmcd at samba.org> * BUG 7280: Fix auto printers with registry config. o Andreas Schneider <asn at samba.org> * BUG 7538: Fix GUID_from_data_blob() with le...
2010 Oct 08
3
[Announce] Samba 3.5.6 Available for Download
...module build as shared. * BUG 7531: Fix the charset_pull routine. * BUG 7635: Fix 'smbclient -M'. * BUG 7656: Fix scalability problem with hundreds of printers. * BUG 7684: Fix fd leak in libwbclient.so. * BUG 7688: Fix crash bug in rpcclient. * BUG 7470: Standardize S_IREAD and S_IWRITE. * BUG 7715: Fix file corruption when setting Samba "write wache wize". o Jim McDonough <jmcd at samba.org> * BUG 7280: Fix auto printers with registry config. o Andreas Schneider <asn at samba.org> * BUG 7538: Fix GUID_from_data_blob() with le...
2002 Feb 07
1
Latest version of the batch mode cleanup patch
...n batch flist file for writing; create it if it doesn't exist */ - fdb = - do_open(rsync_flist_file, O_WRONLY | O_CREAT | O_TRUNC, + /* + * Open batch flist file for writing; + * create it if it doesn't exist + */ + fdb = do_open(filename, O_WRONLY | O_CREAT | O_TRUNC, S_IREAD | S_IWRITE); if (fdb == -1) { rprintf(FERROR, "Batch file %s open error: %s\n", - rsync_flist_file, strerror(errno)); + filename, strerror(errno)); close(fdb); exit_cleanup(1); } @@ -67,12 +50,11 @@ if (write(fdb, buff, bytes_to_write) == -1) { rprintf(FERRO...