search for: dosattrib

Displaying 20 results from an estimated 53 matches for "dosattrib".

2012 Jan 11
1
user.DOSATTRIB defaults to hidden?
Hi all, Is there a way to control the default DOS attributes stored in the user.DOSATTRIB value? I'm using a QNAP NAS device (running Samba) that seems to create files that have the 'hidden' DOS attribute set by the user.DOSATTRIB value as a default. The NAS device's smb.conf has the 'store dos attributes' option set to yes and each of the 'map hidden...
2015 Aug 26
3
Meaning of user.DOSATTRIB
I have the following attributes for a typical file on my redirected folders residing on my Samba4 AD/DC: $ getfattr -d "Newletters/Newsletter 2013-09.docx" # file: Newletters/Newsletter 2013-09.docx user.DOSATTRIB=0sMHgyMAAAAwADAAAAEQAAACAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAPnD7jBHStABAAAAAAAAAAA= What do these characters mean? I'm searching for a particular attribute. I have found nothing searching the web or samba wiki. (btw - I see that Marco De Vitis asked a similar question on the list back in 2007, but...
2015 Aug 26
1
Meaning of user.DOSATTRIB
OK, thanks, I've seen such an attribute correlation list elsewhere. So what does the 65 character string mean? user.DOSATTRIB=0sMHgyMAAAAwADAAAAEQAAACAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAPnD7jBHStABAAAAAAAAAAA= Obviously this isn't a bunch of 0x1's and 0x2s bit fields (or are they?). These attributes are from a file on the Redirected Folders directory hosted on the Samba4 AD/DC. I believe the attributes are created b...
2007 Mar 29
0
Meaning of user.DOSATTRIB values
...he current attributes in all my shared files, and was wondering about the mapping between those values and their "Windows meaning". I guessed most of them (and their possible combinations), but some are still a mistery to me; can anyone please confirm and/or complete my guesses? user.DOSATTRIB="0x0" = no dos flag is set (is this the same as no extended attributes at all?) user.DOSATTRIB="0x1" = readonly user.DOSATTRIB="0x2" = hidden user.DOSATTRIB="0x20" = archive user.DOSATTRIB="0x10" = what's this?? If applied to a file, mak...
2015 Aug 26
0
Meaning of user.DOSATTRIB
Hai, This is al about samba ea ( extended attibutes ) support. Samba can map attibutes in two ways: Mapping DOS file attributes to UNIX permissions Storing the DOS attributes in extended file attributes The user.DOSATTRIB extended attribute contains a bit field indicating the state of each DOS attribute: Read-Only = 0x1 Hidden = 0x2 System = 0x4 Archive = 0x20 and in smb.conf related (below is enableing ea support) ea support = yes map hidden = no map system = no map archive = no map readonly = no store do...
2008 Mar 02
2
DO NOT REPLY [Bug 5298] New: xattrs and acls do not work well together along with fake-super, even worse on XFS
...m with the options: fake-super, xattrs and acls. Let me present an example. (create a test directory and enter it as root, configure rsyncd with the test module too) rm -rf source mkdir source echo data2 > source/file2 echo data1 > source/file1 chown 1000:1000 source/file1 setfattr -n user.DOSATTRIB -v "0x30783031" source/file1 setfacl -m g:wheel:rw- source/file1 rsync $OPTS -av source/ backup::test/dest1 rsync $OPTS -av --link-dest ../dest1 source/ backup::test/dest2 ------------------------------------------- For OPTS="" ../test/dest1: total 16 -rw-rw-r-- 2 backup nobod...
2004 Jul 14
3
hosting library (ie. PVCS) on Samba
Hello. I believe that I've done my due diligence in researching what info. is currently available on this issue. I have been jacking with this for days, & believe that I have tried all possible solutions. I am basically trying to move a [Merant] PVCS installation from an OS/2 file server to a SuSE/Samba file server. This installation consists of 'standard' source archives,
2024 Oct 03
1
File attributes issue
...ers ?stling via samba <samba at lists.samba.org> wrote: On 3 Oct 2024, at 19:23, miguel medalha <medalist at sapo.pt> wrote: The parameter "store dos attributes" is on by default since Samba version 4.9. The attributes are stored on an extended attribute named " user.DOSATTRIB". Does your server have the "attr" package installed? If so, what does "getfattr -n user.DOSATTRIB <your path>" show? You should get something like: user.DOSATTRIB=0sMHgxMAAAAwADAAAAEQAAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAIYImavz7NgBAAAAAAAAAAA= If the "attr&quot...
2008 Feb 04
5
WinXP/x64 - MFC CFile objects leak parent directory handles
...can trace this behaviour to the fact that the transactions in the lines 39 through 60 in the following formatted audit log don't appear when the programm is run on an x64 XP, which DO get executed when the program is run on a 32-bit XP (the lines following the "getxattr" of "user.DOSATTRIB" after setting the "kernel_flock" on the already opened file). 1 stat T01/T01.ini 2 getxattr T01/T01.ini:user.DOSATTRIB 3 THE PREVIOUS 2 LINES REPEATED 14 TIMES 4 stat . 5 stat T01 6...
2020 Jul 06
2
Permission denied for home, even when it's 777
...ex: smbd_smb2_request_error_ex: idx[1] status[NT_STATUS_ACCESS_DENIED] || at ../../source3/smbd/smb2_create.c:296 192.168.0.8.log.old: get_ea_dos_attribute: Cannot get attribute from EA on file .: Error = Permission denied And I see similar errors from strace: getxattr(".", "user.DOSATTRIB", 0x7ffd35218110, 256) = -1 EACCES (Permission denied) getxattr(".", "user.DOSATTRIB", 0x7ffd35218110, 256) = -1 EACCES (Permission denied) open(".", O_RDONLY) = -1 EACCES (Permission denied) openat(AT_FDCWD, ".", O_RDONLY|O_NONBLO...
2023 Aug 29
1
GlusterFS, move files, Samba ACL...
On Tue, 29 Aug 2023 15:44:35 +0200 Marco Gaiarin via samba <samba at lists.samba.org> wrote: > Mandi! Rowland Penny via samba > In chel di` si favelave... > > >> In samba the share is: > > I wish people wouldn't do this, if you are going to post a share, > > please post the global section as well. > > Sorry. > > # Global parameters >
2019 Aug 26
2
Permissions at the top of a Samba share
...getfacl: # file: ... # owner: root # group: domain\040users # flags: --- user::rwx group::r-x other::--- i.e. there are no rights for "other" and no default entries in the Posix ACL (i.e. there is no Posix ACL at all, just plain Linux permissions) getfattr -d -e hex -m - ... shows user.DOSATTRIB="<something>", but no "security.NTACL=" and no "user.SAMBA_PAI=" The Windows security editor, however, has two entries for "Everyone": Allow Everyone None 'This folder only' Allow Everyone Special 'Subfolders and files only', the spe...
2009 Jul 29
13
DO NOT REPLY [Bug 6590] New: [sender] could not find xattr #1 for home/jdoe/TheFresh
https://bugzilla.samba.org/show_bug.cgi?id=6590 Summary: [sender] could not find xattr #1 for home/jdoe/TheFresh Product: rsync Version: 3.0.5 Platform: Other OS/Version: Linux Status: NEW Severity: normal Priority: P3 Component: core AssignedTo: wayned at samba.org ReportedBy: stlman at
2020 Jul 08
1
Permission denied for home, even when it's 777
...status[NT_STATUS_ACCESS_DENIED] || >at >../../source3/smbd/smb2_create.c:296 > >192.168.0.8.log.old: get_ea_dos_attribute: Cannot get attribute from >EA on file .: Error = Permission denied > >And I see similar errors from strace: > >getxattr(".", "user.DOSATTRIB", 0x7ffd35218110, 256) = -1 EACCES >(Permission >denied) > >getxattr(".", "user.DOSATTRIB", 0x7ffd35218110, 256) = -1 EACCES >(Permission >denied) > >open(".", O_RDONLY) = -1 EACCES (Permission denied) > >openat(...
2019 Aug 27
3
Permissions at the top of a Samba share
...gt; user::rwx >> group::r-x >> other::--- >> >> i.e. there are no rights for "other" and no default entries in the Posix >> ACL (i.e. there is no Posix ACL at all, just plain Linux permissions) >> >> getfattr -d -e hex -m - ... >> shows user.DOSATTRIB="<something>", but no "security.NTACL=" and no >> "user.SAMBA_PAI=" >> >> The Windows security editor, however, has two entries for "Everyone": >> Allow Everyone None??? 'This folder only' >> Allow Everyone Special...
2007 Jun 01
0
3.0.24 -- Office read only issue, bizarre EAs and disappearing ACLs
...e this issue. Without properly configured default entries on folders, Excel seems to mangle user and group ACLs. In the share definition below, you see map read only, archive, system and hidden all set to "no". Without this (at least for read only) saving files in Excel sets the user.DOSATTRIB value to 0x1 (read only) when it should be 0x20 (archive). On a related issue, I still can't get Microsoft Word 2003 to set the archive bit when changes are made. I've posted a workaround here before, but this one still bugs me. I wish there were a way to tell Samba to set the archive...
2024 Oct 03
2
File attributes issue
HiWe have two Windows servers (one active, one standby) that we keep in sync by using ROBOCOPY to do a differential copy every night. The options make sure that only new or altered files are transferred, and deleted ?master? files also is deleted on the standby server. Now I want to relocate a couple of shares from the active server to a Samba 4.20 server. The shares are up and working as they
2020 Nov 11
0
acl_xattr - AD Computer Management - Failed to enumerate objects in container
...word: SeDiskOperatorPrivilege There are no NTACL attrs at all on the root share # getfattr -n security.NTACL -d /mnt/share/ /mnt/share/: security.NTACL: No such attribute but they do exist on some objects within the share # getfattr -d -m - /mnt/share/* # file: mnt/share/images-100x10 - 2 user.DOSATTRIB=0sAAAEAAQAAABRAAAAEAAAAIaIcN2Jt9YBhodw3Ym31fE= # file: mnt/share/izak.txt security.NTACL=0sAwADAAAAAgAEAAIAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAASMZAAAAIAAAAAAAAAAnAAAAAEFAAAAAAAFFQAAAILUlp1JoMuFe/v65V0EAAABBQAAAAAABRUAAACC1JadSaDLhXv7+uUBAgA...
2004 Aug 03
1
EA Bug?
Since we use Samba 3.0.5 on Linux 2.6 with xattr and acl on ext3 I'm not longer able to set file attributes. In detail, I'm able fine because they are saved as the EA user.DOSATTRIB at the file. But the other part of Samba didn't know that and uses the normal mapping for reading the attributes resulting in no change of them. So I'm unable to mark a file e.g. read only. ea support = No store dos attributes = No are both on their defaults. Any hint? Thanks Daniel
2013 Aug 08
1
security.NTACL Not Being Set Using LXC Containers
Hi, My Samba 3.6.6 file server isn't setting the security.NTACL extended attribute. It can set the user.DOSATTRIB without any issue. This appears to be an LXC container issue, as outside the container I can set this using the setfattr command without issue, whereas I can't do this inside. Despite this not being a Samba issue, I was wondering whether anybody has any encountered problems like this; and...