Jean-Pierre André
07d86b0cfd
Reenabled compression in root directory
2010-06-03 10:07:27 +02:00
Jean-Pierre André
ba083200aa
Fixed close() after a fragmented truncate of a compressed file
2010-06-03 10:06:08 +02:00
Jean-Pierre André
cc4b358383
Fixed freeing a full compression block when fragmented
2010-05-28 16:33:50 +02:00
Jean-Pierre André
b20d1020fc
Fixed data size after an upsizing truncate of a compressed file
2010-05-28 16:32:28 +02:00
Jean-Pierre André
1eed61e1a9
enabled downsizing compressed files
2010-05-25 10:29:34 +02:00
Jean-Pierre André
a192775e2a
developed overwriting compressed files
2010-05-25 10:25:31 +02:00
Jean-Pierre André
41d23fba05
removed unneeded synchronizations
2010-05-25 10:14:15 +02:00
Jean-Pierre André
693aa8780d
enabled case insensitive file names in lowntfs-3g
2010-05-25 10:12:44 +02:00
Jean-Pierre André
2e86428fc0
redefined a default user mapping (a few changes in mount options)
2010-05-25 10:05:10 +02:00
Jean-Pierre André
3745d0a1e3
marked files whose name has a dot initial as "hidden" if option hide_dot_files
2010-05-25 09:58:36 +02:00
Jean-Pierre André
51a9ab8c48
fixed compressions on parent directory or NTFS version < 3.0
2010-05-25 09:52:34 +02:00
Jean-Pierre André
c9d40485b4
fixed a possible index block with no key in
2010-04-19 11:10:30 +02:00
Jean-Pierre André
984be554e3
fixed a bad condition for security descriptor upgrade
2010-04-19 11:09:31 +02:00
Jean-Pierre André
b1f9d5201a
fixed a bug in ACL inheritance
2010-04-19 11:05:20 +02:00
Jean-Pierre André
3e4826f758
fixed modifying the read-only flag on a directory
2010-04-19 11:03:54 +02:00
Jean-Pierre André
9438188703
fixed a bad error checking when closing a compressed file
2010-04-19 11:03:30 +02:00
Jean-Pierre André
1bb7443eb6
Fixed setting archive bit on file and alternated data stream creation
2010-02-24 12:08:56 +01:00
Jean-Pierre André
1bdd93e237
Fixed setting reparse tags in parent directories
2010-02-17 21:26:40 +01:00
jpandre
c8fa404931
Fixed a return error code (Fabian Keil)
2010-01-21 08:15:27 +00:00
jpandre
6306826077
Removed an unneeded variable (Fabian Keil)
2010-01-21 08:13:27 +00:00
jpandre
42f7d07997
Avoided a possible null pointer dereference (Fabian Keil)
2010-01-21 08:09:13 +00:00
jpandre
b10590b354
Avoided setting a variable to itself (Fabian Keil)
2010-01-21 08:07:21 +00:00
jpandre
f1bd6652b1
Fixed uninitialized variable when closing a file on a read-only partition
2010-01-16 18:17:55 +00:00
jpandre
6f72ec189d
Logged the outcome of making $TXF_DATA resident
2010-01-16 09:26:01 +00:00
jpandre
da39179421
Merged Anton's patch for $TXF_DATA attribute
2010-01-08 11:15:46 +00:00
jpandre
d78add4e8f
Developed time stamping up to 100ns resolution
2010-01-04 08:24:44 +00:00
jpandre
ee18659989
Avoided possible double openings of root directory
2010-01-04 08:12:17 +00:00
jpandre
c708a2bdee
Fixed TXF_DATA attribute on root directory when made non-resident
2010-01-04 08:09:44 +00:00
jpandre
393af928d9
Prevented TXF_DATA attribute from being made non-resident
2010-01-04 08:07:29 +00:00
jpandre
05ead49d4e
Avoid a compiler warning
2010-01-04 08:04:30 +00:00
jpandre
6271663b4e
Skip extended attribute related functions when not supported locally
2009-12-19 09:20:59 +00:00
jpandre
1bbb7b8861
Avoid a compiler warning (opensolaris)
2009-12-19 07:44:35 +00:00
jpandre
9218a5449c
Fixed erroneous comment
2009-12-18 09:13:54 +00:00
jpandre
cf705f011e
Cosmetic change
2009-12-18 09:12:54 +00:00
jpandre
9dd9daeb6d
Implemented low-level interface to fuse
2009-12-18 08:43:45 +00:00
jpandre
6072a95591
Cached looked-up inodes for subsequent use
2009-12-18 08:27:05 +00:00
jpandre
d75f69d80e
Cached inode data for subsequent use
2009-12-18 08:12:23 +00:00
jpandre
41a371f4a7
Redesigned caches for indexing cached entries
2009-12-17 17:36:06 +00:00
jpandre
7c88ccb95b
Grouped parameters affecting the global behavior in a specific file
2009-12-17 15:24:02 +00:00
jpandre
c468e74acd
Avoided a compiler warning
2009-12-17 09:17:16 +00:00
jpandre
c1adbc1787
Implemented getting/setting/removing object ids
2009-12-17 09:07:56 +00:00
jpandre
d990f7996c
Changed the interfaces to use extended attributes
2009-12-17 08:24:13 +00:00
jpandre
7bea2202d7
Made direct calls to collation functions
2009-12-16 10:20:57 +00:00
jpandre
195945cdc0
Evaluated file names collations in a single parsing
2009-12-16 09:45:28 +00:00
jpandre
2db43fc118
Included <limits.h> explicitly, needed in some environments
2009-12-15 18:25:15 +00:00
jpandre
985ef5c2e8
Avoid a compiler warning
2009-12-15 18:21:57 +00:00
jpandre
b842a6720e
Made sanity checks when setting reparse data of known type
2009-12-15 09:39:29 +00:00
jpandre
2f8ced2ddd
Kept junctions points absolute or relative as specified
2009-12-15 09:25:36 +00:00
jpandre
c5c51ec1fe
Simplified interfaces for checking permissions
2009-12-14 17:23:12 +00:00
jpandre
bae437d845
Included <sys/stat.h> needed in acls.c on some platforms
2009-12-14 17:17:08 +00:00
jpandre
3c323eecf1
Avoided checking group membership when group and other have same permissions
2009-12-11 14:39:59 +00:00
jpandre
efd2a9701a
Avoided translating file names when available in cache
2009-12-11 10:11:38 +00:00
jpandre
758a99ea87
Avoided double copy of dir when closing a file in an open dir
2009-12-10 10:04:53 +00:00
jpandre
7a876eca36
Fixed possible memory leaks after char translation errors
2009-12-09 11:20:20 +00:00
jpandre
e23481624f
Improved UTF8<-->UTF16 translations
2009-12-09 11:19:27 +00:00
jpandre
029faaabc6
Restricted compression to volumes with cluster size not greater than 4096
2009-12-09 10:52:21 +00:00
jpandre
52d5e40f93
Fixed memory allocation for translating junction points
2009-12-09 10:48:35 +00:00
szaka
e5a1325ed3
remove unused device_io.c
2009-12-03 06:17:43 +00:00
jpandre
38d77ef0dc
Added device_io.c and secaudit.h for "make dist" (Erik Larsson)
2009-12-01 15:22:29 +00:00
jpandre
20fb2395fd
Simplified tracking of forced time stamps
2009-11-26 13:34:42 +00:00
jpandre
22ecdf8298
Fixed synchronization of attribs and timestamps to parent directory
2009-11-25 14:37:00 +00:00
jpandre
9279c2e493
Fixed inappropriate casts
2009-11-25 14:29:08 +00:00
jpandre
a69136d90b
Downgraded an error message
2009-11-25 14:22:28 +00:00
jpandre
37c3740aff
Made a function static to avoid a compiler warning
2009-11-25 14:19:38 +00:00
jpandre
9b987fb923
Disabled ownership checking when permissions are disabled
2009-11-25 14:15:52 +00:00
jpandre
1fecf5d891
Fixed the return code after removing a reparse index
2009-11-24 14:22:09 +00:00
jpandre
a75724fea8
Fixed a few misleading endianness types
2009-11-24 14:18:53 +00:00
jpandre
d81be7fda7
Reformatted or downgraded a few encryption error messages
2009-11-18 16:56:06 +00:00
jpandre
ad25d7a0ac
Applied patches for Mac OS X (Erik Larsson)
2009-11-18 16:37:15 +00:00
jpandre
504e6fcec0
Fixed locating a Windows junction or symlink when last entry in an index node
2009-11-07 08:31:17 +00:00
jpandre
f8de613801
Fixed identifying correct case in junction points
2009-11-07 08:28:43 +00:00
jpandre
9901ea3532
ntfs_inode_open: don't log "No STANDARD_INFORMATION" for extended MFT records
2009-11-05 11:44:38 +00:00
jpandre
af4f6a406a
fix format breaking new lines in error messages
2009-11-05 11:43:36 +00:00
jpandre
3af7bebe7b
Mac OS X Unicode normalization form conversion (Erik Larsson)
2009-11-05 11:40:44 +00:00
jpandre
c910b8596b
ntfs_fsync: fix comment (Erik Larsson)
2009-11-05 11:30:47 +00:00
jpandre
01b530685d
Mac OS X true fsync (Erik Larsson)
2009-11-05 11:30:05 +00:00
jpandre
b78d895575
Added indexing of reparse data into $Extend/$Reparse
2009-11-03 14:35:53 +00:00
jpandre
716fdbaf33
Updated a copyright notice
2009-11-03 14:05:58 +00:00
jpandre
3a95774575
Accepted ACL_REVISION_DS as a valid ACL revision
2009-10-28 15:08:21 +00:00
jpandre
f40b6edb32
Avoided a compiler warning
2009-10-28 15:07:02 +00:00
szaka
b3cbe9e4bd
remove unused version.c version.h
2009-10-04 02:02:04 +00:00
jpandre
892f763d31
Fixed cluster allocation when overwriting a hole in a sparse file
2009-09-29 18:52:02 +00:00
jpandre
61f7084020
Fixed avoidance of a double opening of an inode in create()
2009-09-18 19:51:10 +00:00
jpandre
12437acea9
Avoided a double opening of an inode in create()
2009-09-18 16:31:46 +00:00
jpandre
e4b3c59cb1
Accepted initial spaces in Win32/DOS names
2009-09-18 16:17:21 +00:00
jpandre
84605fd3d7
Fixed a possible memory leak when setting a DOS name
2009-09-18 16:15:36 +00:00
jpandre
c085f70be1
Developed the removal of a DOS name
2009-08-14 14:46:46 +00:00
jpandre
5bee9d73f0
Allowed to set a DOS name exactly the same as the long name
2009-08-14 14:44:12 +00:00
jpandre
1d26eb2b97
Fixed checking spaces in Win32 names
2009-08-12 15:35:11 +00:00
jpandre
35b7293401
Fixed possible memory leak when setting a DOS name
2009-08-12 15:33:05 +00:00
jpandre
d312da70fd
Fixed return code when querying a non-existent dos name
2009-08-12 15:15:59 +00:00
jpandre
88473752c5
Allowed creating holes in compressed files
2009-08-11 08:02:59 +00:00
jpandre
588d9099b2
Inserted <stdarg.h>, useful for testing
2009-07-20 12:57:38 +00:00
jpandre
5e650c0c91
Developped getting and setting NTFS times
2009-07-09 15:20:14 +00:00
jpandre
06e553b04d
Fixed permissions of created files when parent directory has a default ACL
2009-07-04 19:14:56 +00:00
jpandre
9a4672ca65
Developped getting and setting DOS names (short 8+3 names)
2009-07-01 19:45:59 +00:00
jpandre
f259fb44df
Improved cluster allocation on volumes too filled
2009-07-01 19:16:33 +00:00
jpandre
5b7a193d26
Fixed erroneous rejections of setting efs info
2009-07-01 18:56:00 +00:00
jpandre
9ce63a72d5
Fixed a data compression bug causing suboptimal compression
2009-06-17 08:07:58 +00:00
jpandre
d76c7f6172
Logged user mapping errors (which occur before mounting)
2009-06-17 08:05:09 +00:00
jpandre
c79b3777ca
Implemented backup/restoring of encrypted files (by Martin Bene)
2009-05-20 14:17:31 +00:00
jpandre
c453008681
Fixed native NTFS inheritance
2009-05-17 19:54:08 +00:00
jpandre
2a2cb4ffb2
Fixed interpretation of ACLs for default Posix ACLS (inheritance)
2009-05-17 19:50:53 +00:00
jpandre
f41cf451f5
Set compression parameters before making data non resident
2009-04-25 12:06:40 +00:00
jpandre
c87fc027df
Secured write position to compressed files
2009-04-25 12:02:20 +00:00
jpandre
bcc9b7dbdc
Fixed cluster releases for compressed files
2009-04-25 11:52:00 +00:00
jpandre
3615874502
Fixed execution access by root when Posix ACLs are enabled on kernel >= 2.6.29
2009-04-21 13:00:24 +00:00
jpandre
fc78c03c39
Fixed an endianness error in default uppercase table
2009-04-20 15:27:03 +00:00
jpandre
717da2a52c
Fixed endianness oddities
2009-04-20 15:23:52 +00:00
jpandre
d898b64a04
Changed interface for translating permissions to avoid a version dependency
2009-04-10 07:10:04 +00:00
jpandre
eb282c019a
Inserted a reference to lzhuf.c from which the search for matches was borrowed
2009-04-08 19:24:53 +00:00
jpandre
c86e0dbf6b
Improved the loop for searching matches
2009-04-08 19:21:57 +00:00
jpandre
ab872500b3
Copied the compression flags in the file name attribute
2009-04-08 19:18:13 +00:00
jpandre
e4136e654c
Set the data flags in base attribute and all the extents
2009-04-08 19:15:29 +00:00
jpandre
2fbaecd759
Extended transparent compression support to sequential writing to compressed files
2009-04-03 13:33:24 +00:00
jpandre
e2d1f3a1c3
Fixed bad macro usage
2009-04-03 12:45:13 +00:00
jpandre
9836e3f22d
Checked NTFS version before setting a reparse point
2009-04-03 06:55:28 +00:00
jpandre
03755a9ba5
Adapted to ntfs-3g-2009.4.4
2009-04-03 06:53:12 +00:00
jpandre
1e822076d6
Adapted to ntfs-3g.2009.3.8
2009-03-27 09:15:24 +00:00
jpandre
2a1d75a3da
Adapted to ntfs-3g.2009.3.8
2009-03-27 09:10:00 +00:00
jpandre
cd4b23f0a6
Fixed an endianness error
2009-03-27 08:46:19 +00:00
jpandre
a13ee0c82c
Fed the free spaces in context for calls from security API
2009-03-27 08:36:07 +00:00
jpandre
86c1f05336
Fixed misplaced parentheses when checking a junction point
2009-03-23 16:12:06 +00:00
jpandre
aa54558345
Fixed wrong size (quota_charged, usn)
2009-03-23 16:09:24 +00:00
jpandre
5689ebd55d
Fixed endianness errors
2009-03-23 16:05:11 +00:00
jpandre
cc96d22ed6
Fixed an endianness declaration
2009-03-11 16:18:18 +00:00
jpandre
935b1beca8
Fixed creating new reparse points (Faisal Puthuparackat)
2009-03-02 20:26:18 +00:00
jpandre
224c2fcda2
Changed attribute name offset when there is no name (Faisal Puthuparackat)
2009-03-02 20:24:16 +00:00
jpandre
19dda5be83
Allowed setting/clearing compression flag for a directory
2009-03-02 20:20:24 +00:00
jpandre
071b5f0cb8
Removed temporary code for comparing mapping pairs size to older version
2009-03-02 20:17:34 +00:00
jpandre
571c057d05
Fixed moving the standard information attribute to an extended MFT record (Szabolcs Szakacsits)
2009-02-27 08:15:06 +00:00
jpandre
ddfb2175a9
Improved creating gaps in sparse files
2009-02-13 10:37:53 +00:00
jpandre
93b695f1cc
Adapted to ntfs-3g-2009.2.1
2009-02-12 20:32:21 +00:00
jpandre
8191533495
Fixed computation of runlists
2009-02-12 16:51:52 +00:00
jpandre
2dc7362ba9
Improved computation of runlist for fragmented files O(n) instead of O(n*n)
2009-02-03 17:12:04 +00:00
jpandre
9a5e5bbfe3
Avoided logging of removal of non-existent extended attribute
2009-01-27 12:59:10 +00:00
jpandre
11216c6942
Adapted to ntfs-3g-2009.1.1
2009-01-23 11:11:44 +00:00
jpandre
b73ba7f15c
Avoided errno pollution when removing a reparse point
2009-01-17 08:39:23 +00:00
jpandre
9b996d31b9
Relocated code for setting/retrieving NTFS attribs
2009-01-17 08:37:17 +00:00
jpandre
0feae8177a
Fixed the return value of ntfs_set_file_attributes()
2009-01-06 11:25:55 +00:00
jpandre
ca6466c6bb
Mapped a few NTFS internal data to extended attributes
2009-01-05 13:56:05 +00:00
jpandre
d3f3a19866
Adapted to ntfs-3g.1.5222-RC
2009-01-05 13:28:06 +00:00
jpandre
4898e594b8
Avoided sorting Posix ACEs when there is only one
2008-12-24 15:35:21 +00:00
jpandre
f443601201
Avoided a full ACL compare when not needed to determine a default user mapping
2008-12-24 15:33:08 +00:00
jpandre
25e3cad534
Changed the sequencing of operations to compute the size of an ACL
2008-12-24 15:30:25 +00:00
jpandre
33cb0cbd7e
Strengthened the consistency checks on ACLs
2008-12-24 15:27:34 +00:00
jpandre
f0fbd111e0
Fixed a memory leak in the security API (impacted tools)
2008-12-24 15:09:44 +00:00
jpandre
26681fe0fe
Fixed copy of special flags in the security API (for tools)
2008-12-24 15:04:31 +00:00
jpandre
6faf38df12
Adapted to ntfs-3g.1.5130
2008-12-01 15:29:23 +00:00
jpandre
c4c3c8f90f
Fixed inclusion of two functions whatever ACL option selected
2008-12-01 15:07:49 +00:00
jpandre
0aab674589
Cosmetic fixes
2008-11-29 10:52:03 +00:00
jpandre
ee37dcab6d
Interpreted symbolic links created by Vista as symbolic links
2008-11-26 15:57:20 +00:00
jpandre
e39b2a5d0d
Processed an alternate format for Windows symlinks
2008-11-13 09:40:42 +00:00
jpandre
751483b465
Inserted the new files reparse.c and reparse.h in the build process
2008-11-04 13:39:02 +00:00
jpandre
4c39b0332f
Fixed filtering of junction points
2008-11-04 13:36:08 +00:00
jpandre
33bccc53c9
Implemented an interpretation of junction points
2008-11-02 09:14:57 +00:00
jpandre
cbca88095d
Fixed type of argument for file creation
2008-09-21 17:27:21 +00:00
jpandre
e5286c09d6
Adapted to ntfs-3g.1.2926-RC
2008-09-19 13:39:38 +00:00
jpandre
f857740a4d
Renamed inode_cache to xinode_cache for easier reference
2008-09-19 13:27:55 +00:00
jpandre
939a4a20b7
Relocated the setting of the Windows read-only flag
2008-09-09 15:40:57 +00:00
jpandre
0634272756
Fixed return value for Posix ACL removal
2008-09-09 15:36:55 +00:00
jpandre
a675f60863
Declared mapping data as const in a few interfaces
2008-09-09 15:26:38 +00:00
jpandre
5770560fab
Subdivided the building of NTFS ACLs
2008-09-09 15:19:42 +00:00
jpandre
703d1c37dc
Fixed bugs in Posix ACL cacheing
2008-09-06 14:45:35 +00:00
jpandre
a58ff9073d
Improved bit countings
2008-09-06 09:34:23 +00:00
jpandre
8b0358876a
Reverted wrong fix for parent directory having a default Posix ACL - feed back from fuse needed
2008-09-05 14:06:43 +00:00
jpandre
1b9bbc0993
Removed temporary logging of bad Posix ACLs
2008-09-05 14:03:25 +00:00
jpandre
d13ffc55f8
Fixed cacheing legacy directories (NTFS 1.x) for Posix ACLs
2008-09-05 13:59:23 +00:00
jpandre
9525c5c310
Fixed a memory leak in Posix ACL inheritance
2008-09-03 14:40:12 +00:00
jpandre
2cc7b4536e
Fixed initial permissions when there is a default ACL
2008-09-02 15:19:47 +00:00
jpandre
cb59654f39
Implemented an extended attribute interface to get/set NTFS ACLs
2008-09-01 16:24:54 +00:00
jpandre
92985f750c
Fixed mask avoidance in Posix ACLs when there is no designated user/group
2008-09-01 15:41:16 +00:00
jpandre
08537782ce
Reset errno to previous value when it does not mean an error
2008-08-30 10:55:33 +00:00
jpandre
94d299b848
Fixed ACE size while decoding a Posix ACL
2008-08-30 10:34:27 +00:00
jpandre
6bfd3ed546
Fixed a stupid name prefixing
2008-08-30 10:31:40 +00:00
jpandre
fd60178d8f
Made possible to mention root as a designated user or group
2008-08-27 08:35:53 +00:00
jpandre
25179bfe83
Enabled full endianness type checks
2008-08-27 08:21:36 +00:00
jpandre
7d0293dc3c
Enabled full endianness type checks
2008-08-25 09:06:48 +00:00
jpandre
58b3f86be6
Improved group permissions when using Posix ACLs
2008-08-25 09:04:26 +00:00
jpandre
13552eba52
Integrated full utf-8 to utf-16le conversions, based on code by Berhard Kaindl
2008-08-21 12:04:51 +00:00
jpandre
f4bd4e5b52
Added a few casts for easier type checks
2008-08-21 11:05:16 +00:00
jpandre
62780e137b
Cleaned and fixed endianness conversions
2008-08-21 11:02:35 +00:00
jpandre
225ec94d5c
Fixed owner of files when different from Windows owner
2008-08-21 10:58:19 +00:00
jpandre
3b44e8890a
Made use of fuse checks when "default_permissions" option is used
2008-08-21 10:55:18 +00:00
jpandre
012684d116
Made possible to have the owner mentioned again as a designated user
2008-08-21 10:32:40 +00:00
jpandre
38c3d868a4
Improved approximation for ACLs built by Windows Administrator
2008-08-21 10:30:38 +00:00
jpandre
7f42da0b07
Reorganized and split the security source file, a few interfaces changed
2008-08-21 10:27:46 +00:00
jpandre
6a47056d18
Merged the Posix ACL code, now it is a compile-time option
2008-08-21 10:08:20 +00:00
jpandre
499e106341
Adapted to ntfs-3g.1.2812
2008-08-16 15:17:47 +00:00
jpandre
4a94021038
Fixed possible overflows in reading the user mapping file
2008-08-16 12:50:11 +00:00
jpandre
a2dab6b2ff
Fixed possible overflows in reading the user mapping file
2008-08-03 07:20:58 +00:00
jpandre
219491bf27
Added entries in security API to process user mappings and Win32 attribs
2008-08-03 07:19:20 +00:00
jpandre
412838056a
Adapted to ntfs-3g.1.2712
2008-07-13 17:55:57 +00:00
szaka
5dbdb30df8
add tabulated logging for the most common ntfs_mft_* functions
2008-06-30 11:18:49 +00:00
szaka
a6d8c6b1a6
new: use tabulated logging; add ntfs_log_enter() and ntfs_log_leave()
...
and convert the most commonly used functions
2008-06-30 00:13:23 +00:00
szaka
1098244bbf
copyright update
2008-06-29 23:13:32 +00:00
jpandre
d30bd79b02
Fixed changing mode for files created by standard ntfs-3g
2008-06-16 16:21:43 +00:00
jpandre
767b4d075c
Fixed deletions from a sticky directory (on kernels >= 2.6.25)
2008-06-02 10:56:23 +00:00
jpandre
7c05f13884
Adapted to ntfs-3g-1.2531
2008-05-30 07:40:22 +00:00
szaka
6a59ac3583
fix: support build in a separate directory (Alon Bar-Lev)
2008-05-19 17:40:34 +00:00
jpandre
4f03c199df
Adapted to ntfs-3g-1.2506
2008-05-14 08:27:55 +00:00
jpandre
5d5615433f
Work around access to files created by Windows in a directory created by Linux
...
as root
2008-04-21 14:09:32 +00:00
jpandre
7d3bff9b99
Code relocations, variable renamings or comment adjustments to
...
reduce differences to Posix ACL variant
2008-04-21 14:06:25 +00:00
jpandre
317c060cf6
Prevented Windows from inheriting execution right to plain files
2008-04-20 16:16:10 +00:00
jpandre
3df7110f69
Fixed computation of implicit uid/gid
2008-04-20 09:45:30 +00:00
jpandre
9668345f61
Improved approximation of Windows-type inheritance
2008-04-20 09:25:27 +00:00
jpandre
eb519fee8c
Relocated a few functions
2008-04-17 16:14:59 +00:00
jpandre
0af78a2c5f
Checked an error condition before allowing access
2008-04-17 14:05:22 +00:00
jpandre
5e30e6f204
Extended cacheing to any variable type
2008-04-17 13:26:52 +00:00
jpandre
b929b94aaa
Fixed trailing '/' circumstances and simplified path normalization
2008-04-17 10:26:15 +00:00
jpandre
b8a6013531
Fixed an error return case in chown/chmod
2008-04-14 15:52:07 +00:00
jpandre
75a9b157f3
Adapted to ntfs-3g.1.2412
2008-04-14 15:49:28 +00:00
jpandre
c2591fcd10
Fixed group ACE grants
2008-04-11 09:23:38 +00:00
jpandre
04c5867c8a
Removed an unneeded group ACE
2008-04-09 20:21:49 +00:00
jpandre
0377cd7107
Improved consistency of ownership for chmod
2008-04-08 10:22:13 +00:00
jpandre
6b8648409c
Improved denials to group
2008-04-08 10:15:26 +00:00
szaka
77e5ff36d1
ntfs_make_room_for_attr(): "no space" condition must be ENOSPC, not EINVAL
...
ntfs_attr_add(): fix adding attribute which can be resident and non-resident
2008-04-02 17:21:11 +00:00
szaka
69423166cb
fix: symlink failed or the size was truncated at modulo 256 if the target was over 255 bytes
2008-04-02 10:29:22 +00:00
szaka
2f85653372
Fix build. libfuse-lite and include/fuse-lite must be symlinks to the
...
respective fuse lite directories.
2008-03-28 22:26:24 +00:00
jpandre
e4a835076a
Updating the source directory tree
2008-03-28 14:42:50 +00:00
jpandre
e5fcb9e844
Fixed a bug in security API
2008-03-23 08:41:18 +00:00
jpandre
d766714986
Fixed processing of security options
2008-03-14 09:13:30 +00:00
jpandre
5258a873f1
Improved processing of group membership
2008-03-13 18:36:06 +00:00
jpandre
cc9d5c0b57
Fixed write checks for directories
2008-03-13 14:09:16 +00:00
jpandre
2fa89952ff
Fixed cache creation when mount fails
2008-03-12 16:22:24 +00:00
jpandre
be365af93b
Made implicit user mapping more general and improved checks
2008-03-12 16:15:52 +00:00
jpandre
1f1ebf2548
Fixed consistency checks in security API
2008-03-12 16:05:39 +00:00
jpandre
3fb950c590
Implemented dynamic groups and a generic user mapping
2008-03-11 15:36:40 +00:00
jpandre
97a85f91f9
Fixed an endianness error
2008-03-11 10:42:45 +00:00
jpandre
53fa335624
Adapted to ntfs-3g.1.2310
2008-03-10 15:35:54 +00:00
jpandre
beb5e6ae48
Changed representation of special mode bits in ACEs and put them in
...
canonical order
2008-03-10 11:28:59 +00:00
jpandre
8cc3d7d7b2
Improved consistency checks related to $Secure
2008-03-06 11:26:23 +00:00
jpandre
72e221d828
Fixed getting the group of files
2008-03-05 18:34:58 +00:00
jpandre
a38b79897d
Adapted to ntfs-3g.1.2216
2008-02-18 15:15:13 +00:00
jpandre
2ff8218406
Adapted to ntfs-3g-1.2121-RC
2008-01-23 08:16:23 +00:00
jpandre
d7741bccc6
Moved user mapping file to hidden directory .NTFS-3G
2008-01-16 20:07:56 +00:00
jpandre
31d414ca1d
Implemented an option to designate a user mapping file
2008-01-15 17:41:46 +00:00
jpandre
d5fc330628
Improved search for the longest run of unallocated blocks
2008-01-15 17:35:05 +00:00
jpandre
038156ba82
Reengineered LRU caches, made generic, and applied to finding inode numbers
2008-01-10 17:32:55 +00:00
jpandre
076358d6fd
Redefined ownership of files
2007-12-14 17:02:39 +00:00
jpandre
78bd8350ca
Fixed a bug when getting permissions for the first time
2007-12-13 17:27:32 +00:00
jpandre
59a21e6110
Reengineered permissions cache
2007-12-13 09:14:51 +00:00
jpandre
7335c9af68
Fixed inserting users into groups
2007-12-09 08:33:54 +00:00
jpandre
ecc7c2099f
Fixed checking for unchanged owner in chgrp
2007-12-09 08:32:19 +00:00
jpandre
99ff26cb0b
Developped processing of static supplementary groups
2007-12-07 08:46:36 +00:00
jpandre
4a41445698
Added alignment checks in ACL sanity checking
2007-12-04 07:55:59 +00:00
jpandre
a892467a88
Fixed bad release of index root
2007-12-04 07:51:30 +00:00
jpandre
9557f92cd0
Fixed compatibility with Windows for allowing writes to group and world
2007-12-02 20:23:17 +00:00
jpandre
d49a557167
Fixed recognition of alternate world SID
2007-12-02 20:22:22 +00:00
jpandre
3284b3fd4a
Fixed a memory leak when user mapping is not activated
2007-11-29 11:17:42 +00:00
jpandre
d78230bb7f
Fixed audit functions
2007-11-24 09:25:22 +00:00
jpandre
fe34d3f231
Extended security API for auditing security data
2007-11-23 10:50:15 +00:00
jpandre
d6cbe236e9
Fixed "Dr Watson" situation again
2007-11-23 10:48:47 +00:00
jpandre
f73e9ed9ce
Fixed setting of read-only flag
2007-11-20 13:48:15 +00:00
jpandre
3a51d80655
Adjusted to v 1.1104
2007-11-20 11:05:49 +00:00
jpandre
bd86c2e445
Adjusted to v 1.1120
2007-11-20 11:03:57 +00:00
jpandre
b2025c15d0
Fixed access to files owned by root with access granted to a user
2007-11-20 07:25:03 +00:00
jpandre
ea6d22763e
Fixed flags checking in security descriptors
2007-11-20 07:21:56 +00:00
szaka
6bbb912bca
fix: unlink may failed with I/O error
2007-11-18 22:20:19 +00:00
szaka
c38e349117
ntfs_readdir(): fix reading dirs over 600,000 files (GeorgeK, Szaka)
2007-11-15 07:21:43 +00:00
szaka
906637db9e
posix file time updates (Yura Pakhuchiy, Szabolcs Szakacsits)
2007-11-13 00:11:51 +00:00
jpandre
d519250d5b
Tested security fields offset rather than flags in security API for consistency with "Dr Watson" case
2007-11-10 18:00:13 +00:00
jpandre
943248d0cf
Considered security descriptors with no DACL as valid (for "DR Watson")
2007-11-10 15:52:37 +00:00
jpandre
84b00ba63a
Set files created by unmapped users as created by root
2007-11-09 09:05:13 +00:00
jpandre
e8d01bead0
Logged circumstances in which errno is set to EIO
2007-11-08 18:30:41 +00:00
jpandre
afb21cdd92
Fixed clearing setgid if file group does not match process group
2007-11-06 16:39:24 +00:00
jpandre
e9f4de2d94
Adjusted to v 1.1104
2007-11-05 17:16:48 +00:00
jpandre
2b2f210d57
Cleared gaps between $Secure:$SDS records to avoid warnings from chkdsk
2007-11-05 16:46:52 +00:00
jpandre
dfdbc7c1f6
Fixed setuid and setgid (for directories, and if owner == group)
2007-11-01 20:51:15 +00:00
jpandre
0a6f37914c
Fixed group ACE when group is owner and either setuid or setgid
2007-11-01 14:20:03 +00:00
jpandre
cd25021844
Reorganized file creation to avoid temporary security settings
2007-10-30 17:09:11 +00:00
jpandre
442cbe8a73
Fixed header after merging security attributes
2007-10-30 08:54:31 +00:00
jpandre
c7850ddf82
Fixed condition for accepting a chgrp
2007-10-30 08:52:51 +00:00
jpandre
a8dc8655d0
Adjusted to v 1.1030
2007-10-29 16:28:33 +00:00
jpandre
d0a84b3ef3
Fixed size returned in security API
2007-10-24 10:02:32 +00:00
jpandre
9551e7eee6
Recognized local users group as meaning world
2007-10-24 07:18:44 +00:00
jpandre
b31b4cb124
Returned the securid and size even if short buffer in security API
2007-10-24 06:37:52 +00:00
szaka
5167f7b5dd
ntfs_security_hash(): big-endian fix (Erik Larsson)
2007-10-22 18:51:20 +00:00
jpandre
c6830ecc23
Fixed a few errno returns
2007-10-22 12:58:06 +00:00
jpandre
4fa21ffe2d
Accepted symbolic names for uid and gid in user mapping file
2007-10-21 16:45:06 +00:00
jpandre
8fb2068f41
Recognized the generic creator-owner SID
2007-10-21 16:14:30 +00:00
jpandre
ece8b56697
Removed old unused code
2007-10-20 15:27:44 +00:00
jpandre
0c15d089ef
Implemented cache extension for legacy directories
2007-10-20 12:40:22 +00:00
jpandre
6a96a5cebd
Checked volume designated in security API is not mounted
2007-10-20 07:07:03 +00:00
jpandre
a597c1c608
Implemented special protection modes : sticky, setuid, setgid
2007-10-19 15:18:55 +00:00
jpandre
3ad5de1d1f
Fixed security initialization for old volumes which do not have a $Secure file
2007-10-19 08:09:27 +00:00
jpandre
6886650afc
Fixed several endianness errors
2007-10-19 07:16:21 +00:00
jpandre
62407b6b1e
Made a double check before creating the first security id
2007-10-18 16:05:33 +00:00
jpandre
86084908e2
Reorganized ACL inheritance to allow inheritance in directories with a
...
security attribute and no securite id
2007-10-18 14:56:18 +00:00
jpandre
3db8bb1848
Stuffed zeroes into $SDS before writing into a new block, to prevent
...
the file being automatically made sparse
2007-10-17 12:23:02 +00:00
jpandre
764dced1f1
Fixed errno when could not write to $SDS
2007-10-17 12:20:22 +00:00
jpandre
5f914d0492
Padded end of $SDH entries with 0x490049 like Windows (purpose unknown)
2007-10-17 12:17:51 +00:00
jpandre
85c536de3f
Fixed unneeded generation of security id after a hash collision
...
Fixed possible overflows of SDS-1 into SDS-2
Ended setting security attributes through the API
Reordered function to avoid a forward call
2007-10-15 15:04:11 +00:00
jpandre
d93d9562ee
Fixed a special case in getting next index entry
2007-10-15 14:59:30 +00:00
jpandre
f7ae72ca0a
Updated a comment
2007-10-12 13:24:58 +00:00
jpandre
86f94559c2
Implemented an option for upgrading gracefully individual security attributes
...
Implemented a security API for tools
Fixed a case for potential index/data inconsistency
Improved hash collision detection through a generic get_next_key()
2007-10-12 12:56:28 +00:00
jpandre
91a4873a23
Implemented a function giving next entry in an index
...
Removed temporary interfaces for the same aim
2007-10-12 12:54:49 +00:00
szaka
4eebc42d42
remove bogus format attribute which caused some gcc to crash
2007-10-10 19:37:25 +00:00
jpandre
a8a33f0bc3
Reverted back relay for free() and consequences on const ptrs
2007-10-09 13:33:11 +00:00
jpandre
7cc6adba7c
Fixed a missing inode closing
2007-10-09 11:59:33 +00:00