Commit Graph

235 Commits (9ddc70f19b3598fd8ea5afb92e14ef7a26d64d86)

Author SHA1 Message Date
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 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 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 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 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 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 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 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
szaka 98694266d7 give examples for the 'force' mount option usage 2007-03-27 20:36:46 +00:00
szaka 8a12e507c6 don't flood logs with ENOSPC errors (full disk) 2007-03-16 00:31:09 +00:00
szaka 4665b48913 don't log errno reason after fuse_mount() since it's undefined, misleading 2007-03-10 01:01:40 +00:00
szaka ff1997ec13 Use the 'nonempty' FUSE mount option by default, so we behave as in-kernel
filesystems, moreover HAL and pmount won't refuse to mount if they create
hidden .created-by-xxx file in the mount point directory before mount.
2007-03-03 23:42:05 +00:00
szaka cf16a8191b parse_mount_options(): don't parse empty options string 2007-03-03 23:36:43 +00:00
szaka f5d8f91c4f ignore user specified blksize option 2007-02-06 19:08:16 +00:00
szaka 931858c0c2 use FUSE default_permissions option when users expect things to work that way 2007-02-06 18:56:24 +00:00
szaka d5d43139eb update fuse26_kmod_msg: FUSE 2.6.2 kmod lacks fuseblk for old kernels 2007-02-04 19:56:55 +00:00
szaka 28a4fa0a40 portability fix: use getuid/geteuid instead of getresuid 2007-02-04 13:25:26 +00:00
szaka 6da93fb607 fix uids related compilation warnings (bigboss, Szaka) 2007-02-04 13:20:25 +00:00
szaka 30e9ddfdf0 main(): cleanup exit paths 2007-01-17 21:44:57 +00:00
szaka 065b283892 setuid root support 2007-01-17 21:25:00 +00:00
szaka e3054e26f9 remove redundant struct fuse_arg variable initialization 2007-01-17 20:59:21 +00:00
szaka d12649781e fix a memory leak on an error path before exit 2007-01-17 20:55:30 +00:00
szaka 8a82a85477 support older than FUSE 2.6 kernel modules 2007-01-15 21:46:31 +00:00
szaka 75c60e5486 fix 64-bit warnings (Yuval) 2007-01-09 21:22:58 +00:00
szaka 87dcc99921 fix: make ActiveSync work via Samba 3.0 (Rein Ketelaars, Yuval, Szaka) 2007-01-09 20:38:07 +00:00
szaka 41d37771a2 fix: inode number wasn't filled in dirent structures (Ted Anderson, Szaka) 2006-12-17 19:48:34 +00:00
szaka 4ae052cf3c fix: fuse 2.6.x kernel module detection wasn't reliable 2006-12-15 00:21:32 +00:00
szaka b0a44f5fad be a bit helpful if fuseblk is not available 2006-12-12 00:13:18 +00:00
szaka adc8caa033 parse_mount_options(): point to some help regards to locale setup 2006-12-11 21:15:45 +00:00
szaka a4317bed14 try_fuse_mount(): log why the FUSE mount point creation failed 2006-12-11 18:33:38 +00:00
szaka 331dad587c fix: POSIX requires st_blocks to be in 512 byte unites (Yuval, Yura) 2006-11-21 21:26:42 +00:00
szaka c842f28870 fix compilation warnings 2006-11-14 20:07:13 +00:00
szaka 30e099de17 point users to FUSE setup/install problem instead suggesting an NTFS issue 2006-11-14 18:47:19 +00:00
szaka 1fe361a4b7 new: bmap() -- safe swap file support, LILO bootability (Szeredi, Szaka) 2006-11-13 23:05:36 +00:00
szaka 6c120f3d35 fix: unmount wasn't synchronous for block devices 2006-11-12 23:34:50 +00:00
szaka 8c45b819fa compilation requires FUSE API version 26 2006-11-12 15:24:53 +00:00
szaka 16971593a6 fix: arguments were missing on the 2nd fuse mount attempt 2006-11-12 15:23:49 +00:00
szaka b2ce68ed26 fix FUSE API 26 crash during exit (Szeredi, Szaka) 2006-11-11 20:12:40 +00:00
szaka fc448b311e upgrade to FUSE API version 26 (FUSE 2.6.0) -- features, fixes require this 2006-11-10 23:36:25 +00:00
szaka 94b94568e3 add ntfs_attr_remove(); convert its users 2006-11-08 21:36:29 +00:00
szaka 09dd3c34bc ntfs_fuse_removexattr(): reorder free space outdating 2006-11-08 20:27:45 +00:00
szaka 13ab497b7c ntfs_attr_rm(): fix inconsistent deallocation of *na; adapt its users 2006-11-08 20:00:28 +00:00
szaka ba63b7daca initial CVS import 2006-10-30 22:32:48 +00:00