Commit Graph

198 Commits (fe18b65f95e18f839cae4d91ce374916cf9d8340)

Author SHA1 Message Date
jpandre a12966408d Fixed permissions checks when opening a directory by open() 2008-08-21 10:37:01 +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 412838056a Adapted to ntfs-3g.1.2712 2008-07-13 17:55:57 +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
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 b929b94aaa Fixed trailing '/' circumstances and simplified path normalization 2008-04-17 10:26:15 +00:00
jpandre 75a9b157f3 Adapted to ntfs-3g.1.2412 2008-04-14 15:49:28 +00:00
szaka 4b9ee4308b fix: symlink failed if the target was over 1024 bytes 2008-04-02 17:31:07 +00:00
szaka a07e900359 fix: 'noatime' additionally and unconditionally was passed to fuse 2008-03-31 19:02:44 +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 1146c83bc0 Updating the file tree
:x
:
x



::
2008-03-28 14:29:42 +00:00
jpandre d766714986 Fixed processing of security options 2008-03-14 09:13:30 +00:00
jpandre be365af93b Made implicit user mapping more general and improved checks 2008-03-12 16:15:52 +00:00
jpandre 3fb950c590 Implemented dynamic groups and a generic user mapping 2008-03-11 15:36:40 +00:00
jpandre 53fa335624 Adapted to ntfs-3g.1.2310 2008-03-10 15:35:54 +00:00
jpandre 8cc3d7d7b2 Improved consistency checks related to $Secure 2008-03-06 11:26:23 +00:00
jpandre a38b79897d Adapted to ntfs-3g.1.2216 2008-02-18 15:15:13 +00:00
jpandre 427c0dc48f Adapted to ntfs-3g-1.2129 2008-01-30 11:03:22 +00:00
jpandre c632244e15 Missing adaptation to ntfs-3g-1.2121-RC 2008-01-25 17:33:34 +00:00
jpandre 2ff8218406 Adapted to ntfs-3g-1.2121-RC 2008-01-23 08:16:23 +00:00
jpandre 31d414ca1d Implemented an option to designate a user mapping file 2008-01-15 17:41:46 +00:00
jpandre 038156ba82 Reengineered LRU caches, made generic, and applied to finding inode numbers 2008-01-10 17:32:55 +00:00
jpandre 5513e46b16 Avoided a double check in unlink() 2007-12-04 07:53:44 +00:00
jpandre 95038a1cb0 Fixed a double close error 2007-11-20 15:23:33 +00:00
jpandre f73e9ed9ce Fixed setting of read-only flag 2007-11-20 13:48:15 +00:00
jpandre 1e8eed2e92 Adjusted to v 1.1120 2007-11-20 10:58:22 +00:00
jpandre 9e788a40c5 Fixed apparent mode for symbolic links 2007-11-20 07:33:53 +00:00
szaka 6bbb912bca fix: unlink may failed with I/O error 2007-11-18 22:20:19 +00:00
szaka d6f73c80e5 white space cleanup 2007-11-13 00:41:23 +00:00
szaka 906637db9e posix file time updates (Yura Pakhuchiy, Szabolcs Szakacsits) 2007-11-13 00:11:51 +00:00
jpandre eb0713793e Implemented ftruncate() with its special access checking 2007-11-12 13:33:40 +00:00
jpandre efe1ffec7a Fixed apparent protection mode for symbolic links 2007-11-12 13:31:54 +00:00
jpandre fbadbb14b8 Fixed checking for writeable parent directory when truncating a file 2007-11-08 09:02:31 +00:00
jpandre 370b73adb5 Fixed check for sticky directory when unlinking 2007-11-07 10:03:16 +00:00
jpandre 67e5ba51d0 Deny hard link when source directory is protected 2007-11-07 09:25:00 +00:00
jpandre f7668a2577 Deny truncate of files in protected directory 2007-11-07 09:23:46 +00:00
jpandre 0c9744587e Deny rmdir from protected directory 2007-11-07 09:22:42 +00:00
jpandre 1f7e99be09 Cancelled incompatibility O_RDWR and O_WRONLY for open() 2007-11-07 09:21:17 +00:00
jpandre daf8003511 Fixed checking access to target directory in creating a hard link 2007-11-06 18:42:51 +00:00
jpandre 90aaeea4ac Fixed checking parent dir is searchable to allow file opening 2007-11-06 16:37:16 +00:00
jpandre e9f4de2d94 Adjusted to v 1.1104 2007-11-05 17:16:48 +00:00
jpandre 38f0433943 Avoided any checks in chown() if neither owner nor group is changed 2007-11-01 20:47:35 +00:00
jpandre d9afd54c5c Updated mtime after a successful chown/chgrp 2007-11-01 14:17:37 +00:00
jpandre 80eed372b6 Updated ctime in chmod() 2007-11-01 10:42:31 +00:00
jpandre cd25021844 Reorganized file creation to avoid temporary security settings 2007-10-30 17:09:11 +00:00
jpandre a8dc8655d0 Adjusted to v 1.1030 2007-10-29 16:28:33 +00:00
jpandre 444f617e7f Removed debugging instructions 2007-10-25 08:52:52 +00:00
jpandre c6830ecc23 Fixed a few errno returns 2007-10-22 12:58:06 +00:00
jpandre 0ea556dee5 Fixed logic of access() 2007-10-20 12:37:56 +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 86084908e2 Reorganized ACL inheritance to allow inheritance in directories with a

							
						
2007-10-18 14:56:18 +00:00
jpandre 2ce866d4cd Fixed an error in closing security 2007-10-15 14:58:22 +00:00
jpandre ed5d8398a7 Defined an option for upgrading gracefully individual security attributes 2007-10-12 12:58:01 +00:00
jpandre ccbd793fae An update in utils_mount_volume() which was missing 2007-10-09 08:21:14 +00:00
jpandre 8032b960d0 Cleaned code

							
						
2007-10-09 07:51:08 +00:00
szaka 4206ceddce fix warnings 2007-10-08 22:03:31 +00:00
jpandre 773a9b3596 - Logged cache statistics

							
						
2007-10-06 14:52:55 +00:00
szaka 0d05ca69fe Jean-Pierre Andre's permission handling implementation 2007-09-27 22:35:58 +00:00
szaka 5adb30912a implement the .create fuse method: this should solve the problem of
open("file", O_CREAT, S_IREAD) besides it improved file creation performance
by 20% (Jean-Pierre Andre, Szabolcs Szakacsits)
2007-09-16 18:33:53 +00:00
szaka a97c661efe statfs optimization: O(1) free cluster calculation (David Fox, Szabolcs Szakacsits) 2007-09-12 20:51:06 +00:00
szaka 8824fbe7ae Ignore the volume dirty bit because its real meaning is "check the volume"
(set by chkdsk, ntfsresize, ntfsfix) and this is what ext2, ext3, ext4,
reiserfs and xfs do in similar cases. The fact of the real dirtiness is
stored in the NTFS logfile which is already checked for.
2007-08-22 19:59:45 +00:00
szaka 1d19c06f6c explain the 'locale' mount option a bit better 2007-08-17 17:13:49 +00:00
szaka d2fab4e71f fix: utimes() shouldn't update the parent dir mtime (Wayne Sherman, Szaka) 2007-08-10 15:01:21 +00:00
szaka 3b6818862e don't turn on permission checking if umask, fmask or dmask is zero since
the effect were just the opposite users wanted
2007-08-09 21:15:28 +00:00
szaka 742828ab74 fix: unmount (fusermount -u) was denied for an unrpivileged user who was
allowed to mount a block device. FUSE 2.7.0+ is required for the full fix.
2007-08-09 20:11:43 +00:00
szaka a7e4d503e2 fix: rename may updated mtime for some files/dirs (Wayne Sherman, Szaka) 2007-08-09 14:11:54 +00:00
szaka e1e987791b add a section about Windows filename compatibility 2007-08-08 19:07:57 +00:00
szaka 49825fbbee fix hangs in readdir(): ntfs_fuse_filler() returns error if FUSE filler failed 2007-08-08 16:38:26 +00:00
szaka 568720ef84 portability fixes 2007-07-09 22:25:15 +00:00
szaka 57c475a0ae Give more hints what the problem could be during mount 2007-07-09 21:49:52 +00:00
szaka 190367bb52 portability fixes 2007-07-09 21:03:57 +00:00
szaka c214b9c11c No need to check for ENOSPC because ntfs_log_perror() does it now 2007-07-08 20:45:14 +00:00
szaka 2655455f74 fix trace logging 2007-07-08 15:02:49 +00:00
szaka a81f30eaa6 fix: move & hard link input/output error in 1.616 (Nicolò Chieffo, Szaka) 2007-07-08 14:27:55 +00:00
szaka 0089974281 use kernel cache also for the 'debug' option 2007-06-16 21:34:13 +00:00
szaka b263ea5988 update manual 2007-06-16 21:31:46 +00:00
szaka a6663562b5 fix: truncate() always returned "Operation not permitted" on error 2007-06-09 23:24:34 +00:00
szaka 1ab1b69203 check and handle ntfs_inode_close() errors 2007-06-09 23:00:07 +00:00
szaka 4daa2f72b1 remove unused utils_* code 2007-06-09 00:10:04 +00:00
szaka 55f77f9223 ntfs_fuse_destroy(): clearer error message 2007-06-08 23:30:54 +00:00
szaka e2e91cebba pass file system name to the fuse layer (Alistair Crooks) 2007-06-06 18:55:30 +00:00
szaka 9bc01583cd Fix Linux exploit if ntfs-3g is setuid and the FUSE kernel driver isn't
loaded (Jochen Schmitt, Tom "spot" Callaway, Szaka)
2007-05-15 21:19:59 +00:00
szaka 6174a9365a ntfs_fuse_read(): log the details if it fails 2007-04-22 21:03:06 +00:00
szaka 39ac864f75 handle the -v (verbose) command line option because mount(8) can pass it 2007-04-15 23:52:01 +00:00
szaka 4e2dbb13a3 fix: option parsing may failed due to a bug introduced in 1.411-RC 2007-04-11 22:16:17 +00:00
szaka 5984592552 support read-write mount with the --force option if logfile is unclean 2007-04-08 20:23:11 +00:00
szaka 108934e9fe manual update: command line syntax, options update 2007-04-08 19:09:00 +00:00
szaka 828c16f8b5 parse_options(), usage() cleanup; removed unused command line options 2007-04-07 19:42:58 +00:00
szaka af5302b5bb log command line options 2007-04-06 20:32:20 +00:00
szaka 1d0a2dea23 remove fusermount example since the binary will move entirely into libfuse 2007-04-06 20:19:24 +00:00
szaka b5e7329981 don't run surely failing Linux specific code on non-Linux OSes 2007-04-06 20:17:14 +00:00
szaka c01bae4411 support multiply -o options to make FreeBSD's mount(8) work (Dmitri Tarasov, Szaka) 2007-04-06 20:13:11 +00:00
szaka d4b77bd50f fix typo in hibernated volume message 2007-04-02 21:09:18 +00:00
szaka cae49b9373 fix default uid/gid of file for suid-root user mounts (Laszlo Dvornik, Szaka) 2007-04-02 21:08:06 +00:00
szaka a73cd7f22f Emphasize the kernel problem which typically is believed to be a user space one 2007-03-27 21:09:42 +00:00