similar to: Changing file permissions from the command line

Displaying 20 results from an estimated 100 matches similar to: "Changing file permissions from the command line"

2001 Oct 23
1
samba NT ACL support problem?
Recently, a problem developed in storing IE5's Temporary Internet Files on our samba exported network scratch space. In tracking it down, I found that the Win2k client attempts to set the ACL of the file "Content.IE5/index.dat". However, the this call ends up setting the mode of index.dat to 0407 (-r-----rwx), thus making the file unmodifiable to the user who created it. (This in
2015 Feb 02
0
NT_STATUS_ACCESS_DENIED (I can write and read, but not replace)
I need help interpeting this issue, thanks in advance. A file was created by user nli on windows 7, that user can manipulate the file at will. If user jpyeron tries to manipulate the file on XPx64 the below happens. # smbd -V Version 3.0.33-3.40.el5_10 [2015/02/02 18:34:15, 8] smbd/dosmode.c:dos_mode_from_sbuf(188) dos_mode_from_sbuf returning [2015/02/02 18:34:15, 8]
2008 Aug 14
1
Security leak in map_nt_perms?
In map_nt_perms any of FILE_READ_DATA, FILE_READ_EA or FILE_READ_ATTRIBUTES is mapped unconditionally to Unix read permission and similarly for write permission This means that if I put a file on a samba share where I explicitly left *only* FILE_READ_ATTRIBUTES and FILE_READ_EA the file content becomes hiddenly readable also if I decided (for very good reasons) otherwise. I'd say that when a
2006 Mar 20
5
Need some ACL help for win32-file
Hi folks, I''ve got most everything done for the pure Ruby version of win32-file. The last thing left (since I''ll be moving the IO methods to a different package eventually) is the file security stuff. Here''s what I''ve got so far for the get_permissions method. However, I''m stuck at GetAce(). If someone could help me finish up this method, I
2003 Sep 24
0
CreateFile for EXE images vs other files
This question isn't directly Samba related, but Samba has helped me figure out part of the problem. When I CreateFile on an existing file like so: CreateFile(FileName, GENERIC_READ, FILE_SHARE_READ | FILE_SHARE_DELETE, NULL, OPEN_EXISTING, FILE_ATTRIBUTE_NORMAL, NULL); Samba shows that I have the file opened with this type of lock DENY_NONE 0x20089 RDONLY When the file is locked in
2005 Sep 07
1
Samba 3.0.20 - Windows 98 problem
Server - Samba 3.0.20 on INTEL P4 running Slackware 10.1 Client - Windows 98. Can log in, see, browse, and write. Just can't run simultaneous, same *.exe from 2 different computers with Windows 98 With Windows 2000, Xp this keep good time. On samba 3.0.14a, with same smb.conf this problem dont exist.
2020 Oct 29
0
[Announce] Samba 4.13.1, 4.12.9 and 4.11.15 Security Releases Available
Release Announcements --------------------- These are a security releases in order to address the following defects: o CVE-2020-14318: Missing handle permissions check in SMB1/2/3 ChangeNotify. o CVE-2020-14323: Unprivileged user can crash winbind. o CVE-2020-14383: An authenticated user can crash the DCE/RPC DNS with easily crafted records. ======= Details ======= o CVE-2020-14318:
2020 Oct 29
0
[Announce] Samba 4.13.1, 4.12.9 and 4.11.15 Security Releases Available
Release Announcements --------------------- These are a security releases in order to address the following defects: o CVE-2020-14318: Missing handle permissions check in SMB1/2/3 ChangeNotify. o CVE-2020-14323: Unprivileged user can crash winbind. o CVE-2020-14383: An authenticated user can crash the DCE/RPC DNS with easily crafted records. ======= Details ======= o CVE-2020-14318:
2023 Apr 03
2
[PATCH resend 1/2] vdpa/snet: support getting and setting VQ state
Hi Jason, > > + /* Overwrite the control register with the new buffer size (in 4B words) */ > > + snet_write_ctrl(regs, buf_words); > > + /* Use a memory barrier, this must be written before the opcode register. */ > > + wmb(); > > > At least you need to use smp_wmb() but if you want to serialize MMIO > writes you can simply use
2007 Oct 26
6
Dont start windows XP/2k installation
we have a linux box Debian with Xen install on it for vitualizate windows enviroment. We follow this instruccion http://www.xensource.com/files/xen_install_windows.pdf but when we run "xm create win_2k.hvm" the windows installation pop up never appear. HVM file config: kernel = "/usr/lib/xen/boot/hvmloader" device_model=''/usr/lib/xen/bin/qemu-dm''
2007 Oct 27
0
Who wants to take a stab at IO.foreach?
Hi all, Anyone want to help with a native IO.foreach? I''m missing some of the critical logic here. This currently just does a straight BYTE_MAX data read, instead of a line by line data read, and doesn''t deal with lines split between multiple reads. I checked strtok into CVS (for windows-pr) if anyone wants to use that instead of String#split. It''s in
2020 Apr 17
2
clang-format sets executable permission on windows (openNativeFile ignores mode on Windows)
Hi, I'm having an issue where clang-format is setting the executable bit on all source files it modifies when using the -i parameter. I spent some time troubleshooting this issue today, and I found that clang-format create a new temporary file, writes the formatted source into that file, then copies it over the old file. Deep in the bowels of openNativeFile in
2020 Apr 20
4
clang-format sets executable permission on windows (openNativeFile ignores mode on Windows)
I’m using Cygwin to interact with the source tree. My sources (I’m working on LLVM itself) were created by other developers (and by extension, created by git.exe on my machine), but a quick expirement of trying “touch foo” shows that Cygwin creates files with 644 mode. Finding the file I created in explorer and checking the properties shows it has the following NTFS permissions: My user: Read,
2020 Apr 20
2
clang-format sets executable permission on windows (openNativeFile ignores mode on Windows)
Mapping between Windows DACLs and Posix user-group-other file permissions is complex, depends on externalities, and is necessarily lossy: http://www.cygwin.com/cygwin-ug-net/using-filemodes.html http://www.cygwin.com/cygwin-ug-net/ntsec.html While there's a lot of information at those links, they don't completely explain how the mapping works. (And who knows if GnuWin32 does the mapping
2007 Sep 25
2
Using callbacks with ReadFileEx
Hi all, First, I just realized I''ll need to go back and fix some of the prototype declarations for windows-pr. The callback parameters will now need to be set to ''K''. ReadFileEx is one example of this. For purposes of my question, let''s assume ReadFileEx has been declared like so: API.new(''ReadFileEx'', ''LPLPK'',
2016 Oct 22
5
CTDB and locking issues in 4.4.6 (Classic domain)
Hi Ralph, I applied the patch to a new build of Sernet 4.4.6 SRPM. I could still open the file from both hosts, and in fact this time I could actually open it on the same host without any problems: host 1: smbclient -U ajc //172.31.0.120/ifa_v ... smb: \jmi\Corporate Accounting\ISL Ltd Accounts\2016\1609\> open "201609 213_ ISL Balance sheet variance analysis.xls" open file
2018 Aug 31
0
Wine release 3.15
The Wine development release 3.15 is now available. What's new in this release (see below for details): - Support for DPI scaling on Android. - HID device support in Raw Input. - Many more new icons in Shell32. - WinHTTP converted to use Windows Sockets. - Syntax fixes in the command line interpreter. - Various bug fixes. The source is available from the following locations:
2001 Nov 23
6
Winbind issues
Several questions really (all on the stable 2.2.2 samba compiled with winbind and acls (and Brandon Stone's recycle bin), with a 2.4.14 kernel along with acls from acl.bestbits.at on a RedHat 7.2 box)... 1) Does anyone know how to stop the security event log on an NT PDC filling up with lots of ANONYMOUS accesses to the Security Account Manager eg: Object Open: Object Server: Security
2003 Mar 06
1
ACL bug FIXes for get_nt_acl()
Two attached patches for samba 2.2.7a and 3.0-alfa22, that I've made today, fix 3 bugs mentioned in my previous e-mail. 1) For each file in addition to ALLOW ACE proper DENY ACE is created. 2) "Take ownership" is shown DENIED for all except root ACEs 3) Read Permissions and read attributes are always shown as allowed, as they are actually allowed. -- Zhitomirsky
2007 Jul 03
2
"Open Extend >> " doesn't work anymore... !
I've a problem with a program. Printing system does: type test.txt *>>* \\lnxsrv\printer and it return: "the parameter is incorrect" but if i try: type test.txt *> *\\lnxsrv\printer it works but if i try with early samba before 3.0.21 release "open extend >> " works ! with last samba release 3.0.25 not work and it tell me error ! Only simple >