search for: setfileattributes

Displaying 6 results from an estimated 6 matches for "setfileattributes".

2011 Jun 01
1
Access rights from ACLs not honored when setting file attributes?
...herefore defined and granted by/to the group, not the user. These groups then appear in the ACL of directories and files whereby the access is granted. This system works perfect when creating, modifying and delete files or directories - no issues at all. However using the windows function 'SetFileAttributes' fails in case the user who is connected to the samba server and executes the function is not either the owner of the file/directory or member of the owning group of the file/directory. Therefore it looks like samba is ignoring any ACL entry when using the windows function 'SetFileAttri...
2012 Nov 02
10
[PATCH 0/9] elflink fixes
From: Matt Fleming <matt.fleming at intel.com> Here are the patches that I've got queued up based on the very helpful feedback I received from people testing Syslinux 5.00-pre9. Unless anyone has any concerns these will make it into Syslinux 5.00-pre10. Matt Fleming (9): pxe: Don't call open_config() from the pxe core ldlinux: Print a warning if no config file is found
2011 May 26
1
Confusion berween file and direcory
I have some trouble with a samba 3.5.8 server when setting directory attributes. On a windows XP I execute a small peace of code that calls 'SetFileAttributes' for the directory 'test-dir' located on the samba server. Using log level 10 I find this: [2011/05/26 15:27:02.144060, 3] smbd/process.c:1298 (switch_message) switch message SMBtrans2 (pid 28903) conn 0x7f5e35f0dbb0 [2011/05/26 15:27:02.144104, 4] smbd/uid.c:257(change_to_user)...
2005 Jan 27
2
[LLVMdev] Building the llvm runtime: 'Can't destroy file: Theprocess cannot access the fi
...D attr = GetFileAttributes(path.c_str()); // If it doesn't exist, we're done. if (attr == INVALID_FILE_ATTRIBUTES) return true; // Read-only files cannot be deleted on Windows. Must remove the read-only // attribute first. if (attr & FILE_ATTRIBUTE_READONLY) { if (!SetFileAttributes(path.c_str(), attr & ~FILE_ATTRIBUTE_READONLY)) ThrowError(path + ": Can't destroy file (hb:1): "); } if (!DeleteFile(path.c_str())) ThrowError(path + ": Can't destroy file (hb:2): "); return true; } ------------------------- I've also attached...
2011 Aug 05
2
Issues Building WINE 1.3.25 and 1.3.26 on Aptosid AMD64
...a local user and as root, and both failed differently. I think the build as root is failing because it doesn't want to be root: Code: security.c:1039: Test failed: DeleteFile should fail security.c:1040: Test failed: expected ERROR_ACCESS_DENIED, got -559038737 security.c:1043: Test failed: SetFileAttributes error 2 security.c:1046: Test failed: DeleteFile error 2 fixme:advapi:ImpersonateLoggedOnUser (0x34) fixme:advapi:LookupAccountSidW Only local computer supported! fixme:advapi:LsaOpenPolicy ((null),0x32fb5c,0x000f0fff,0x32fbb8) stub fixme:advapi:LsaClose (0xcafe) stub fixme:advapi:LookupAccountName...
2011 Mar 24
3
Can't get 'dos filemode' to work as expected
Hello, After an upgrade to samba 3.5.8 (from 3.2.5) the option 'dos filemode' does not seem to work anymore. If I (as a user) do not own the file I can't change permissions. I am user 'felix' and member of supplementary group 'Development'. To test things I use the following share definition: [Temp] path = /srv/samba/file-shares/tmp browseable =