Commit Graph

148 Commits (464a9156cdcbe914d68afde96928e05494151ea9)

Author SHA1 Message Date
Jean-Pierre André 464a9156cd Fixed a wrong computation of ACL size (minor issue) 2012-06-18 12:26:36 +02:00
Jean-Pierre André 1c93e2a97d Avoided setuid/setgid removal by chown on OpenIndiana
On OpenIndiana, it is not customary to remove the setuid/setgid flags
when doing a chown, so comply with the local rules.
2012-03-21 18:52:07 +01:00
Jean-Pierre André f78cc45208 Implemented supplementary group checks for OpenIndiana
Checking supplementary groups permissions to access a file relies on
a supplementary group list available in /proc/PID. This patch adds a
variant to implement the checks based on the specific format used
by OpenIndiana.
2012-03-21 18:34:48 +01:00
Jean-Pierre André d06ee35332 Used ENOENT instead of ENODATA when the latter is not defined (Robert Millan)
ENODATA is not defined by Posix and is lacking on FreeBSD
2012-01-23 16:50:25 +01:00
Jean-Pierre André 4dd63e0fd1 Fixed the setting of attributes by secaudit
The setting of attributes was done in the "standard information",
it must also be propagated to the indexes in parent directories.
2011-09-12 18:41:25 +02:00
Jean-Pierre André 35ad185ade cosmetic : Removed a pointless variable initialization in upgrade_secur_desc() (Fabian Keil) 2011-08-04 15:49:36 +02:00
Jean-Pierre André 12e54df513 cosmetic : Removed more unneeded variables warned by gcc 4.6 2011-08-04 15:49:35 +02:00
Jean-Pierre André 5cd49257b0 Removed unneeded variables as warned by gcc 4.6 2011-07-05 12:17:29 +02:00
Jean-Pierre André f219d2e07e Fixed inconsistent interface to ntfs_initialize_file_security()
The "flags" argument of ntfs_initialize_file_security() is intended to
feed the one to ntfs_mount(). Having the same type for both may avoid
future problems.
2011-03-23 09:20:10 +01:00
Jean-Pierre André 351aec3f7a Enabled renaming of system extended attributes 2010-10-26 08:59:52 +02:00
Jean-Pierre André e40c942f3a Checked Posix ACL versions 2010-10-01 10:41:32 +02:00
Jean-Pierre André 41d23fba05 removed unneeded synchronizations 2010-05-25 10:14:15 +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é 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é 3e4826f758 fixed modifying the read-only flag on a directory 2010-04-19 11:03:54 +02: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 9dd9daeb6d Implemented low-level interface to fuse 2009-12-18 08:43:45 +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 c5c51ec1fe Simplified interfaces for checking permissions 2009-12-14 17:23:12 +00:00
jpandre 3c323eecf1 Avoided checking group membership when group and other have same permissions 2009-12-11 14:39:59 +00:00
jpandre 22ecdf8298 Fixed synchronization of attribs and timestamps to parent directory 2009-11-25 14:37:00 +00:00
jpandre 9b987fb923 Disabled ownership checking when permissions are disabled 2009-11-25 14:15:52 +00:00
jpandre ad25d7a0ac Applied patches for Mac OS X (Erik Larsson) 2009-11-18 16:37:15 +00:00
jpandre af4f6a406a fix format breaking new lines in error messages 2009-11-05 11:43:36 +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 c453008681 Fixed native NTFS inheritance 2009-05-17 19:54:08 +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 d898b64a04 Changed interface for translating permissions to avoid a version dependency 2009-04-10 07:10:04 +00:00
jpandre 2fbaecd759 Extended transparent compression support to sequential writing to compressed files 2009-04-03 13:33:24 +00:00
jpandre a13ee0c82c Fed the free spaces in context for calls from security API 2009-03-27 08:36:07 +00:00
jpandre aa54558345 Fixed wrong size (quota_charged, usn) 2009-03-23 16:09:24 +00:00
jpandre cc96d22ed6 Fixed an endianness declaration 2009-03-11 16:18:18 +00:00
jpandre 19dda5be83 Allowed setting/clearing compression flag for a directory 2009-03-02 20:20:24 +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 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 c4c3c8f90f Fixed inclusion of two functions whatever ACL option selected 2008-12-01 15:07:49 +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 703d1c37dc Fixed bugs in Posix ACL cacheing 2008-09-06 14:45:35 +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 cb59654f39 Implemented an extended attribute interface to get/set NTFS ACLs 2008-09-01 16:24:54 +00:00