Commit Graph

554 Commits (4c8d97cbd27db4f415f7bfde5474effcdedc27e3)

Author SHA1 Message Date
szaka aba99dec29 OS X: implement setchgtime(), it fixes Firefox errors (Erik Larsson) 2009-07-29 00:13:44 +00:00
jpandre 8db3f0a2ab Returned EPERM for getting/setting efsinfo without option efs_raw 2009-07-20 13:00:43 +00:00
jpandre 5e650c0c91 Developped getting and setting NTFS times 2009-07-09 15:20:14 +00:00
jpandre 78285e42b4 Reverted setting archive flag on unlinking (only Windows Explorer does it) 2009-07-09 12:28:04 +00:00
jpandre 8af1460957 Fixed setting archive flag in link()/unlink() 2009-07-07 18:54:13 +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 3ddbce3ea6 Changed conditions to activate protection modes 2009-07-01 19:35:04 +00:00
jpandre 278abb9382 Developped handling of Windows archive flag 2009-07-01 19:32:00 +00:00
jpandre 6a54eac8ad Displayed compile-time options when help is requested 2009-06-17 08:06:45 +00:00
szaka 955b1f3e18 Mac OS X Unicode normalization form conversion (Erik Larsson) 2009-05-21 19:42:36 +00:00
jpandre c79b3777ca Implemented backup/restoring of encrypted files (by Martin Bene) 2009-05-20 14:17:31 +00:00
jpandre 1cd46c2241 Fixed errno when setting security or trusted xattr as non-root 2009-05-17 20:13:28 +00:00
jpandre 220883485a Fixed permissions for symlinks when there is no user mapping 2009-05-17 19:59:26 +00:00
szaka 4536b53092 ntfs_fuse_filler: truncate too large filenames on OS X (Erik Larsson) 2009-05-12 17:51:55 +00:00
szaka 5883b194d5 fix passing buffer after partial read/write (Jean-Pierre Andre, Szabolcs Szakacsits) 2009-04-25 13:20:03 +00:00
jpandre 54f745e3f3 Fixed partial writings for compressed files 2009-04-25 11:56:34 +00:00
jpandre 765e8d3677 Fixed access control to system extended attributes when Posix ACLs are enabled 2009-04-20 15:47:46 +00:00
jpandre 58541b47f9 Checked the actual data format for block map request 2009-04-08 19:04:05 +00:00
jpandre 2fbaecd759 Extended transparent compression support to sequential writing to compressed files 2009-04-03 13:33:24 +00:00
jpandre 03755a9ba5 Adapted to ntfs-3g-2009.4.4 2009-04-03 06:53:12 +00:00
jpandre 2a1d75a3da Adapted to ntfs-3g.2009.3.8 2009-03-27 09:10:00 +00:00
szaka fc372f7316 ntfs_fuse_filler: fix misleading error message if filename decoding failed 2009-03-26 15:55:50 +00:00
szaka 02f8eb12c2 better explanation for the 'silent' mount option 2009-03-19 17:42:58 +00:00
szaka cda5e8ba4c add --version/-V command line option 2009-03-04 00:01:21 +00:00
szaka 9f2d3fce40 show 'Usage' instead of hint to use 'ntfs-3g --help' 2009-03-03 23:55:09 +00:00
szaka f7505dfd2f Prefer Support Forums for knowledge sharing 2009-03-03 08:15:19 +00:00
jpandre 93b695f1cc Adapted to ntfs-3g-2009.2.1 2009-02-12 20:32:21 +00:00
szaka a682c36625 change: support the "user." extended attribute namespace by default on Linux 2009-02-11 21:38:49 +00:00
szaka 5157bd2fd3 add recover/norecover options, obsolete force option, recover from unclean journal by default 2009-02-10 13:00:04 +00:00
szaka 84ef1c5f9d manual update 2009-02-01 14:59:56 +00:00
szaka 838af60ff1 manual: merge authors and thanks sections 2009-02-01 12:45:44 +00:00
szaka 91c57a8f08 document generic mount options accepted 2009-02-01 08:16:50 +00:00
szaka cd4666ab78 implement MacFUSE setbkuptime not to break some apps (Erik Larsson) 2009-01-31 15:48:48 +00:00
szaka 21cca783ba Credit major contributors 2009-01-29 16:04:16 +00:00
jpandre 42968369c4 Fixed access control to extended attributes when Posix ACLs are enabled 2009-01-29 09:27:14 +00:00
jpandre 2145789d66 Returned no support when extended attributes are enabled and Posix ACL are not 2009-01-29 09:25:35 +00:00
szaka b6d78e9c7e ntfs_fuse_setxattr: return EOPNOTSUPP if an extended attribute namespace isn't supported 2009-01-29 00:05:17 +00:00
jpandre 12a566eca6 Fixed listing of non-user extended attributes 2009-01-26 09:02:19 +00:00
jpandre 4953a60b7b Fixed access to user extended attributes when Posix ACLs are enabled 2009-01-26 09:00:36 +00:00
jpandre 11216c6942 Adapted to ntfs-3g-2009.1.1 2009-01-23 11:11:44 +00:00
jpandre 638228121d Implemented security, trusted and open name spaces for extended attributes 2009-01-23 11:02:34 +00:00
szaka 3aaaf459ee revert 'change: support the "user." extended attributes namespace ...' change 2009-01-22 12:13:49 +00:00
szaka 8b4e66c23b change: support the "user." extended attributes namespace by default on Linux 2009-01-22 01:01:04 +00:00
szaka faf9707864 move conditional PATH_MAX define to compat.h 2009-01-21 23:51:02 +00:00
szaka 987e6f7bf9 fix extended attribute corruption if new size was smaller (Jean-Pierre Andre) 2009-01-19 02:35:53 +00:00
jpandre 3787dcad77 Fixed checking access to parent directory for removing an extended attribute 2009-01-17 14:29:15 +00:00
szaka 4869dc96d5 OS X: remove FUSE_ENABLE_SETVOLNAME comment 2009-01-08 02:52:12 +00:00
szaka f70df990c5 OS X: support getting/setting file creation timestmap (Erik Larsson) 2009-01-08 00:13:42 +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
szaka 882a17a6ce locale= mount option is not used anymore for filename characterset conversion 2008-12-22 00:48:29 +00:00
szaka 6718cf6de0 readdir returns error if a filename can't be utf8 converted instead of skipping it 2008-12-22 00:27:12 +00:00
szaka 9dc9eb60e9 ntfs_fuse_statfs: fix f_bsize comment about optimal transfer block size 2008-12-12 22:14:41 +00:00
szaka 31026fb7b0 librarize utils_ functions 2008-12-06 22:11:28 +00:00
jpandre 6faf38df12 Adapted to ntfs-3g.1.5130 2008-12-01 15:29:23 +00:00
jpandre 150a7879db Fixed warnings from gcc >= 4.3.2 2008-12-01 14:49:40 +00:00
szaka 70b7c4f8bf change invocation examples to work on OS X 2008-11-30 21:54:18 +00:00
jpandre ee37dcab6d Interpreted symbolic links created by Vista as symbolic links 2008-11-26 15:57:20 +00:00
szaka 8b7954e4ab ntfs_fuse_write: fix compiler warning on logging format string 2008-11-13 02:21:58 +00:00
szaka e8b6fe03f6 fix all -Wformat -Wformat-security compiler warnings (Vincent Untz) 2008-11-13 01:53:21 +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
szaka 1f8c7efb38 remove unused version files 2008-10-16 23:38:13 +00:00
jpandre 0b88fffd78 Enabled protections if no mount option but user mapping file is found 2008-10-08 12:34:17 +00:00
jpandre 5b1e042af4 Avoided compiler warnings for unused parameters 2008-10-02 07:46:19 +00:00
jpandre 0d2f805af6 Made the interface to get/set an NTFS ACL available in non-Posix ACL builds 2008-10-02 07:42:54 +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 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 c699b0a0a5 Collected ownership of mount point for a default user mapping 2008-09-09 15:06:55 +00:00
jpandre a453456d6b Fixed building a security context for truncate() and create() when Posix ACL are disabled 2008-09-06 15:00:24 +00:00
jpandre f76204d517 Fixed code triggering a compiler warning 2008-09-06 14:55:20 +00:00
jpandre 4b1da71f51 Removed patches from wrong version 2008-09-06 14:53:24 +00:00
jpandre 67618ba2c4 Updated files needed to make a build 2008-09-06 14:42:31 +00:00
jpandre 834b3ab938 Fixed character encoding setting 2008-09-01 16:31:57 +00:00
jpandre cb59654f39 Implemented an extended attribute interface to get/set NTFS ACLs 2008-09-01 16:24:54 +00:00
jpandre 31e6a0b734 Implemented access control to getting/setting Posix ACL 2008-09-01 16:19:37 +00:00
jpandre d142d8539f Implemented access control to extended attributes 2008-09-01 16:16:11 +00:00
jpandre 6d484cd842 Made ACL requests to always return unsupported when ACLs are disabled 2008-08-27 10:42:22 +00:00
jpandre d3da724466 Redefined the options to activate the levels of permissions checking 2008-08-25 09:11:43 +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 3b44e8890a Made use of fuse checks when "default_permissions" option is used 2008-08-21 10:55:18 +00:00
jpandre 713e6349c8 Redefined the options to activate the levels of checking 2008-08-21 10:42:03 +00:00
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
szaka 43e4670b80 remove redundant ctx->vol checks (Yura Pakhuchiy) 2008-07-18 14:08:30 +00:00
szaka b4fd7fe3ce ntfs_fuse_write(): fix format string warning 2008-07-18 13:04:38 +00:00
szaka cdf4fd5469 don't flood log with "Operation not supported" compressed/encrypted write errors
(Mark McIntyre, Jean-Pierre Andre, Szabolcs Szakacsits)
2008-07-18 12:37:37 +00:00
szaka d7ae435430 create/mknod cleanup (Yura Pakhuchiy) 2008-07-18 01:07:21 +00:00
szaka b660e27c24 add Solaris support (Mark Phalan, Laszlo Peter, Marc Glisse, Szabolcs Szakacsits) 2008-07-17 15:01:50 +00:00
szaka 59f002c253 setup_logging(): fix printf NULL pointer crash on Solaris (Mark Phalan) 2008-07-15 15:39:53 +00:00
jpandre 412838056a Adapted to ntfs-3g.1.2712 2008-07-13 17:55:57 +00:00
szaka ed96bb15e5 fix: the driver didn't work if the standard I/O file descriptors were closed
during mount, e.g. via some configuration of udev/hotplug (Ugo Riboni, laoGe)
2008-07-10 22:55:50 +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 34329cf27e use $(MKDIR_P) if available, $(mkdir_p) otherwise (Alon Bar-Lev) 2008-05-26 23:46:43 +00:00
szaka 70ecc5be0c new: --enable-mount-helper, --with-rootfs options and other build fixes:
- add --enable-mount-helper which installs /sbin/mount.ntfs-3g to be able
  to mount via mount(8) and /etc/fstab on Linux. The default is enabled
  on Linux and disabled on others.
- add --with-rootfs=<PATH> where the driver, library and core utils will
  be installed. The default is "/" otherwise automounts could fail.
- warn fuse none rootfs only if rootfs is "/"
- parallel make install support
- add DISTCHECK_HACK=1 environment which make "make distcheck" work
(Alon Bar-Lev)
2008-05-25 01:21:29 +00:00
szaka 9186ebc4d6 fix parallel 'make install' (Alon Bar-Lev) 2008-05-24 17:37:46 +00:00
szaka 78915c1d3c fix build if --exec-prefix used without --sbindir=/sbin (Georg Lukas, Szabolcs Szakacsits) 2008-05-23 20:13:21 +00:00
szaka 6a59ac3583 fix: support build in a separate directory (Alon Bar-Lev) 2008-05-19 17:40:34 +00:00
szaka d73e646b33 fix: support build in a separate directory (Alon Bar-Lev) 2008-05-19 17:34:39 +00:00
jpandre 4f03c199df Adapted to ntfs-3g-1.2506 2008-05-14 08:27:55 +00:00
szaka 83e9aa0457 document missing and powered down device case 2008-05-05 17:20:22 +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 f90aa79b2e remove redundant user_allow_other support: mount is denied for unprivileged
mounts unless ntfs-3g is suid-root in which case the user can control the
access by the uid/gid and fmask/dmask/umask options.
2008-04-09 00:37:36 +00:00
szaka 4b9ee4308b fix: symlink failed if the target was over 1024 bytes 2008-04-02 17:31:07 +00:00
szaka ec83e7062a fix: symlink failed if the target was over 1024 bytes 2008-04-02 17:30:12 +00:00
szaka a07e900359 fix: 'noatime' additionally and unconditionally was passed to fuse 2008-03-31 19:02:44 +00:00
szaka c231d73e19 fix: hard link attribute update was delayed by one second 2008-03-30 20:22:14 +00:00
szaka 2a3d44e3d6 fix: 'noatime' additionally and unconditionally was passed to fuse 2008-03-30 20:10:56 +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
szaka 02c4a2efde mount_fuse(): remove obsolete workaround to be able to find fusermount.
This piece of code resulted open source write NTFS. R.I.P.
2008-03-09 13:29:29 +00:00
szaka 0bafbaf9d3 more explanatory error messages when mount fails 2008-03-08 20:21:13 +00:00
szaka 7cff8993b8 ntfs_mbstoucs(): remove unused and broken outs_len 2008-03-08 19:18:20 +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
szaka 5617176383 fix compiler warnings 2008-02-16 17:05:38 +00:00
szaka d5d8acb214 don't obfuscate error message with usage help; explain better realpath error 2008-02-16 16:01:52 +00:00
szaka 6ab2973445 explain unprivileged block device mount failure with external FUSE 2008-02-16 15:21:56 +00:00
szaka fca849d365 fix unprivileged mount/unmount 2008-02-16 14:25:23 +00:00
szaka 3f2f5b3431 fix command line parsing 2008-02-10 21:40:43 +00:00
szaka 7b638b31d6 explain how certain mount denials can be overcome by mount options 2008-02-10 14:37:29 +00:00
szaka 8f278649ac document remove_hiberfile mount option 2008-02-10 14:35:44 +00:00
szaka 9a457b1681 forced_mount_msg: drop 'defaults' as many people mistyped it to 'defualts' 2008-02-10 13:34:14 +00:00
szaka 7b17f7daf4 remove user= option handling because fuse-lite will take care about it 2008-02-09 14:46:48 +00:00
szaka 2636da890b fix: create mount.ntfs-3g symlink always in /sbin where mount(8) needs it 2008-02-03 16:39:13 +00:00
szaka 65996b036a add 'remove_hiberfile' mount option to be able rw mount hibernated volumes 2008-02-03 16:35:25 +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
szaka 48f32c048a fix %lld when off_t is used on 64-bit (Alon Bar-Lev) 2008-01-23 21:05:40 +00:00
jpandre 2ff8218406 Adapted to ntfs-3g-1.2121-RC 2008-01-23 08:16:23 +00:00
szaka 0afd8ce18b fix signal handling for integrated fuse user mounts 2008-01-20 18:37:15 +00:00
szaka 5d99f42e74 update ntfs-3g manual 2008-01-20 16:51:36 +00:00
szaka db85bed000 add ntfs-3g.probe manual 2008-01-20 16:31:10 +00:00
szaka 72f55b007e copyright update 2008-01-20 13:54:41 +00:00
szaka cf9fe6e329 log fuse type and version 2008-01-20 13:42:08 +00:00
szaka 45d077860c factor out setup_logging() 2008-01-20 13:14:49 +00:00
szaka 8c8b108e28 ntfs_open(): remove unused argument 2008-01-19 22:59:25 +00:00
szaka 9c0f8eef72 new: support user mount via setuid root ntfs-3g (fusermount isn't required) 2008-01-19 22:55:04 +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
szaka f101412c23 display "Unmounting ..." only if no error during the entire mount phase 2007-12-15 09:36:12 +00:00
szaka 4090a07081 add ntfs-3g.probe utility which probes read-only or read-write mountability 2007-12-15 09:27:00 +00:00
szaka a1402b3c3e new: ntfs-3g exit() value is set according to the type of mount error (e.g.
not ntfs, corrupted, access denied, hibernated, unclean journal, etc)
2007-12-15 09:17:17 +00:00
szaka 3b01ef2754 fix: use fuse signal handler, exit at SIGHUP, SIGTERM, SIGINT & ignore SIGPIPE 2007-12-15 09:04:08 +00:00
szaka 67997a4d88 New: built-in FUSE support by using a 50% stripped down, internal
FUSE library which linked statically into libntfs-3g. Linux
     uses this one by default.
New: the --with-fuse=external configure option makes ntfs-3g to be
     compiled with an external FUSE library. For non-Linux operating
     systems this is the default and the only option currently.
New: rewritten, backwards compatible build system.
New: README file is installed as documentation.
New: the --enable-ldscript configure option uses ldscript instead of
     .so symlink
New: the --disable-mtab configure option disables and ignores the
     usage of /etc/mtab
New: added libntfs-3g.pc.in pkg-config and libntfs-3g.script.so.in
     ldconfig files
Change: use 'make install-strip' instead of 'make strip'
(Alon Bar-Lev, Miklos Szeredi, Szabolcs Szakacsits)
2007-12-06 20:44:10 +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 4ab5ed8a49 fix: successful file/directory removal may reported "Input/Output error" 2007-11-18 22:37:04 +00:00
szaka 6bbb912bca fix: unlink may failed with I/O error 2007-11-18 22:20:19 +00:00
szaka 5d7af2f653 update last edit date 2007-11-18 21:58:34 +00:00
szaka 08128a051f implement relatime and make it default (Yura Pakhuchiy, Valerie Henson, Szaka) 2007-11-18 15:04:39 +00:00
szaka 008cac84fb atime update works (Yura Pakhuchiy, Szabolcs Szakacsits) 2007-11-18 14:08:44 +00:00
szaka 76a3a8963c cleanup: don't check ntfs_inode pointer since ntfs_inode_close() does it 2007-11-18 13:14:49 +00:00
szaka fc67849324 ntfs_fuse_truncate: fix memleak if ntfs_attr_truncate failed (Jean-Pierre, Szaka) 2007-11-18 13:01:42 +00:00
szaka d4b91d350c posix file time updates (Yura Pakhuchiy, Szabolcs Szakacsits) 2007-11-15 07:33:40 +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
szaka 5d268c9a17 ntfs_fuse_getxattr_windows(): separate stream names by '\0' (Daniel Borca) 2007-11-04 11:27:29 +00:00
szaka 729ee43330 fix read over file end (Tullio Andreatta, Julian Sikorski, Szabolcs Szakacsits) 2007-11-03 23:09:11 +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
szaka 028f73740d fix utimes() st_ctime if struct utimbuf buf wasn't NULL (Carmelo Viavattene, Szaka) 2007-10-31 21:30:47 +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
szaka af6370da9e ntfs_open() cleanup, refactoring 2007-10-28 00:07:33 +00:00
szaka b032c0e68b fix free space calculation for >1 TB volumes 2007-10-27 20:38:21 +00:00
szaka 6be9b754b6 factor out ntfs_attr_get_free_bits() 2007-10-27 20:10:34 +00:00
szaka c06caa5353 don't log "Unmounting ..." if volume isn't FUSE mounted yet (B. Kaindl, Szaka) 2007-10-27 20:02:40 +00:00
szaka 1200c1c4bc factor out mount_fuse(); fix fuse mount error paths 2007-10-27 19:27:33 +00:00
szaka 60a8be1bc5 check properly for the linux and __uClinux__ macros 2007-10-25 22:26:02 +00:00
szaka f24a38f0d6 non-inline ntfs_fuse_is_named_data_stream & NAttr* functions: 500+ bytes saved 2007-10-25 22:22:24 +00:00
szaka fc8ef66692 add preliminary uClinux support (huwenke, Szabolcs Szakacsits) 2007-10-25 21:02:59 +00:00
szaka 63f23a8e7d create the /dev/misc/fuse character device too if uclibc used 2007-10-25 20:22:00 +00:00
szaka a6a0a088fa use the FUSE debug only if the debug mount option is used 2007-10-25 19:31:36 +00:00
szaka 1627dbeeda ntfs_fuse_read(): don't flood log with EINVAL when using broken Thunderbirds
(Julian Sikorski, Szabolcs Szakacsits)
2007-10-25 19:26:26 +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
szaka 3502cdc3fb ntfs_fuse_statfs(): fix free inodes available for non-privileged processes 2007-10-14 10:12:41 +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
szaka 925c1cff30 fix warnings 2007-10-08 22:02:38 +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 91604e7edd optimization: find(1) is 20-200% faster for disk based and 300-600% faster
for memory cache based directory traversals
2007-09-27 22:15:03 +00:00
szaka ffa355c0f8 statfs() and free inode calculation is O(1) (David Fox, Szabolcs Szakacsits) 2007-09-26 19:32:26 +00:00
szaka 8de4c34578 try_fuse_mount(): remove non-specific, redundant error message 2007-09-26 19:13:32 +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
szaka 29cb070325 refer to the latest ntfsfix, some earlier versions don't always work 2007-03-27 20:55:45 +00:00
szaka 98694266d7 give examples for the 'force' mount option usage 2007-03-27 20:36:46 +00:00
szaka f8c7d56326 fix the privilege typos 2007-03-27 20:31:44 +00:00
szaka 8a12e507c6 don't flood logs with ENOSPC errors (full disk) 2007-03-16 00:31:09 +00:00
szaka a5281b6114 OS natural manual: ntfs-3g runs on many OSes 2007-03-16 00:28:32 +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 3e9874de79 fix fakeraid/softraid detection (Cyberjean, Szaka) 2007-03-03 23:31:48 +00:00
szaka 95e5a206c7 manual: added access handling, security section; other minor updates 2007-03-03 23:30:39 +00:00
szaka 68422bdf94 add --disable-ldconfig configure option and reorganize *-hook rules to
*-local and *-hook ones in src/Makefile.am for simplicity and to be more
compatible with older automake versions (Andreas Hanke)
2007-03-03 10:52:06 +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 de559b15af man page update 2007-01-15 22:31:49 +00:00
szaka d046837241 report logfile check errors 2007-01-15 21:58:00 +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 01622020fc print some help if device is fakeraid 2007-01-01 19:32: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 94e892228f unclean_journal_msg: try to make it more understandable 2006-12-11 22:40:31 +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 a65b19aa02 fix: 'make install' failed if ldconfig wasn't in the $PATH 2006-12-08 23:47:08 +00:00
szaka ad1bf014ff fix: static linking failed because FUSE forgot to require -lrt 2006-12-07 01:09:15 +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