search for: add_file

Displaying 20 results from an estimated 50 matches for "add_file".

2009 Oct 21
1
zfs acls and MS office applications
...fs permissions I'm testing look like this. This is for the parent directory; files within have the same permissions (sans the inheritance). moe-lh /moe2/office/student_workers 546# ls -vd . drwxrws---+ 2 toml cefac 5 Oct 20 18:36 ./ 0:group:cefac:list_directory/read_data/add_file/write_data /add_subdirectory/append_data/write_xattr/execute/write_attributes /write_acl/write_owner:file_inherit/dir_inherit/inherit_only:allow 1:group:cefac:list_directory/read_data/add_file/write_data /add_subdirectory/append_data/write_xattr/execute/write_att...
2010 Feb 09
4
Rails3 pre and protect_from_forgery
I''ve almost entirely converted a rails 2.3.5 app to 3pre. I''m having some trouble with protect_from_forgery. I had protect_from_forgery set in application_controller.rb, but run some uploadify ajax stuff in one of my controllers, where I had protect_from_forgery, :except => :add_file set. In rails 3 I''m getting ActionController::InvalidAuthenticityToken on the ajax upload unless I turn off protect_from_forgery completely in application_controller.rb. Seems like the exception in my FileUpload controller (protect_from_forgery :except => :add_file) isn''t taki...
2016 Nov 04
4
[PATCH 0/2] improve Lua API for files and initramfs objects
...older version). I implemented a few new functions to handle files/initramfs objects better. Changes: * NEW: file:data() returns file contents as a string * NEW: initramfs:load_file(filename, source, mode, do_mkdir) loads a file from source and add it an initramfs object * CHANGED: initramfs:add_file(filename, data, mode, do_mkdir) data can now also be a file loaded by loadfile(name) I've also changed the order of the do_mkdirs and mode arguments and changed the default of do_mkdirs to true (since that is more useful). This change is not backwards compatible, but it shouldn't be...
2008 Feb 28
0
Windows permissions and inheritance
...o do this I created the /Departments folder, and granted just the permissions shown. In windows it looks fine, and under Solaris it looks ok too, the permissions appear as: d---r-x---+ 3 ross smith domain users 3 Feb 28 08:24 Departments 0:group:domain admins:list_directory/read_data/add_file/write_data /add_subdirectory/append_data/read_xattr/write_xattr/execute /delete_child/read_attributes/write_attributes/delete/read_acl /write_acl/write_owner/synchronize:file_inherit/dir_inherit:allow 1:group@:list_directory/read_data/read_xattr/execute/read_attributes...
2001 Jul 29
1
add version 2 identities by default, too
...tderr, + "No files specified, and unable to find one of:\n%s\n%s\n%s\n", + + identity_name, + rsa_name, + dsa_name); + ssh_close_authentication_connection(ac); + exit(1); + } + if (identity_found) { + if (deleting) + delete_file(ac, identity_name); + else + add_file(ac, identity_name); + } + + if (rsa_found) { + if (deleting) + delete_file(ac, rsa_name); + else + add_file(ac, rsa_name); + } + + if (dsa_found) { + if (deleting) + delete_file(ac, dsa_name); + else + add_file(ac, dsa_name); + } + } +} + int main(int argc, char **ar...
2020 Nov 21
0
Cannot delete (empty) folder from Mac client
...ain_users 512 Nov 19 10:51 mydir.doc > # ls -l /shares/myshare/mydir.doc > total 0 (Notice no ACLs are set) On the client: > $ ls -le /Volumes/ > drwx------+ 1 user2 XXXXXXXX\Domain Users 16384 Nov 19 15:10 myshare > 0: AAAABBBB-CCCC-DDDD-EEEE-FFFF82000000 allow list,add_file,search,delete,add_subdirectory,delete_child,readattr,writeattr,readextattr,writeextattr,readsecurity,writesecurity,chown > 1: group:XXXXXXXX\Domain Users allow list,add_file,search,delete,add_subdirectory,delete_child,readattr,writeattr,readextattr,writeextattr,readsecurity,writesecurity,chown...
2016 Nov 10
3
[PATCH 0/2] improve Lua API for files and initramfs objects
...l. initramfs:load_file() is basically a memory optimization over your solution. It calls initramfs_load_file() directly, this loads the file exactly once into memory. Going through a Lua string loads the file, then copies it into a (interned) Lua string, then copies this string again in initramfs:add_file(). This doubles the peak memory usage (might even triple it if you are not freeing the file before passing it into add_file) This is a concern for our setup: we load relatively large wimboot images and support relatively small VMs at the same time. Paul
2016 Nov 30
1
slow directory access, convert_string_internal: Conversion error: Incomplete multibyte sequence
...ser and single group. # ls -lvd /Pool1/Department/Sales drwxrwx---+ 13 jsmith sales 48 Nov 29 18:58 /Pool1/Department/Sales 0:user:nobody:read_xattr/read_attributes/read_acl:allow 1:user:root:read_xattr/read_attributes/read_acl:allow 2:group@:list_directory/read_data/add_file/write_data/add_subdirectory /append_data/read_xattr/write_xattr/execute/delete_child /read_attributes/write_attributes/delete/read_acl/write_acl /write_owner/synchronize:allow 3:owner@:list_directory/read_data/add_file/write_data/add_subdirectory /append_data/read_xattr/write_xattr/execut...
2016 Nov 30
2
slow directory access, convert_string_internal: Conversion error: Incomplete multibyte sequence
There are definitely some files with some weird names- in an ssh session they don't even have regular characters. e.g -rw-rw---- 1 xxx xxx 114985112 Oct 31 14:39 ▒^t Not sure if that is related to problems though. The top command shows Memory: 12G phys mem, 343M free mem, 2048M total swap, 2048M free swap This is in the evening so should not be much load but I think
2009 Mar 30
0
multi-protocol (cifs/nfs) access to same files - help please
...are set to 777. (see test5 below) Nexenta configuration ================= No specific workgroup No AD or LDAP configuration Acls on folder bigmirror/big: local users smb and nfs, owner@ have full access, everyone@ and group@ (root) are denied write access owner@ Allow:list_directory, read_data, add_file, write_data, add_subdirectory, append_data, write_xattr, execute, write_attributes, write_acl, write_owner group@ Allow:list_directory, read_data, execute Deny:add_file, write_data, add_subdirectory, append_data everyone@ Allow:list_directory, read_data, read_xattr, execute, read_att...
2008 Jan 18
0
Can't write to share.
...b/test/ 0:user::rwx 1:group::rwx #effective:rwx 2:mask:rwx 3:other:r-x -bash-3.00# ls -lavd /zfs/internal/streams drwxrwsr-x 2 root NDS-UK\dept_stream_content 3 Jan 18 14:38 /zfs/internal/streams/ 0:owner@::deny 1:owner@:list_directory/read_data/add_file/write_data/add_subdirectory /append_data/write_xattr/execute/write_attributes/write_acl /write_owner:allow 2:group@::deny 3:group@:list_directory/read_data/add_file/write_data/add_subdirectory /append_data/execute:allow 4:everyone@:add_file/write_data/add_subdire...
2010 Apr 21
8
DO NOT REPLY [Bug 7382] New: Fails to copy with ACL issue if src user is unknown (OSX 10.6 only)
...k was then mounted on local machine. DIRB : target dir on local machine rsync: rsync 3.0.7 running on OSX 10.6.3 --- rsync works when src dir was created by local user --- ls -lde DIR-LOCAL-USER drwx-wx-wx+ 3 admin staff 102 Apr 1 10:59 DIR-LOCAL-USER 0: user:admin allow list,add_file,search,delete,add_subdirectory,delete_child,readattr,writeattr,readextattr,writeextattr,readsecurity,writesecurity,chown,file_inherit,directory_inherit rsync -aA DIR-LOCAL-USER DIRB ls -lde DIRB drwx-wx-wx+ 3 admin staff 102 Apr 1 10:59 DB 0: user:admin allow list,add_file,search,delete,add...
2020 Oct 06
2
Accessing SSH key path using SSH_ASKPASS and passwordstore
Hello, With the introduction of SSH_ASKPASS_REQUIRE in version 8.4, I've set up a script for SSH_ASKPASS to query my local passwordstore (https://www.passwordstore.org/) vault to retrieve the password for a given key. This works for ssh-add as well as ssh (configured with AddKeysToAgent set to 'yes'). My workflow effectively transforms into entering the password for the GPG key used
2016 Nov 10
0
[PATCH 0/2] improve Lua API for files and initramfs objects
...cally a memory optimization over your > solution. It calls initramfs_load_file() directly, this loads the > file exactly once into memory. True. > Going through a Lua string loads the file, then copies it into a > (interned) Lua string, then copies this string again in > initramfs:add_file(). This doubles the peak memory usage (might even > triple it if you are not freeing the file before passing it into > add_file) > > This is a concern for our setup: we load relatively large wimboot > images and support relatively small VMs at the same time. Then calling initramfs_l...
2010 Nov 27
0
[patch] Make passphrase-protected SSHv1 keys work again
...oc -S enabled) crashes ("chunk is already free") when loading my password-protected SSHv1 key (used only for testing). "ssh-add ~/.ssh/identity" also fails to format the prompt properly ("Enter passphrase for :"). The issue is as follows: Starting at ssh-add.c:158 in add_file(ac, filename = "~/.ssh/identity"), we call key_load_private(filename = "~/.ssh/identity", passphrase = "", commentp = &comment) key_parse_private_type(blob = <contents of ~/.ssh/identity>, KEY_RSA1, passphrase = "", commentp = &comment) key_pars...
2001 Jan 07
1
[PATCH] Caching passphrase in ssh-add.
...eak; strlcpy(msg, "Bad passphrase, try again", sizeof msg); } - } + } xfree(comment); if (ssh_add_identity(ac, private, saved_comment)) fprintf(stderr, "Identity added: %s (%s)\n", filename, saved_comment); @@ -296,6 +308,16 @@ delete_file(ac, buf); else add_file(ac, buf); + + snprintf(buf, sizeof buf, "%s/%s", pw->pw_dir, SSH_CLIENT_ID_DSA); + if (deleting) + delete_file(ac, buf); + else + add_file(ac, buf); + } + if (last_passphrase) { + memset(last_passphrase, 0, strlen(last_passphrase)); + xfree(last_passphrase); } ssh_close_au...
2017 Dec 29
2
notmuch: Xapian exception during database creation
Running notmuch from git on Debian testing[1] with the mail and database sitting on a ZFS filesystem, adding mail to a new database: > agrajag-testing ~/s/notmuch % ./notmuch new > Found 605510 total files (that's not much mail). > add_file: A Xapian exception occurred36m 37s remaining). > A Xapian exception occurred adding message: Unexpected end of posting list for 'G0000000000014364'. > Processed 137296 total files in 1h 21m 17s (28 files/sec.). > Added 135950 new messages to the database. > Note: A fatal error...
2009 Jan 29
19
ZFS extended ACL
What is wrong with this? # chmod -R A+user:webservd:add_file/write_data/execute:allow /var/apache chmod: invalid mode: `A+user:webservd:add_file/write_data/execute:allow'' Try `chmod --help'' for more information. This works in a zone, works on S10u5, does not work on OpenSolaris2008.11. CT
2015 Jul 26
2
[PATCH] ssh-agent: Add support to load additional certificates
...cert->cert->key_id); + if (lifetime != 0) + fprintf(stderr, "Lifetime set to %d seconds\n", lifetime); + if (confirm != 0) + fprintf(stderr, "The user must confirm each use of the key\n"); + out: + free(comment); + sshkey_free(cert); + + return ret; +} + +static int add_file(int agent_fd, const char *filename, int key_only) { struct sshkey *private, *cert; @@ -445,13 +488,16 @@ lock_agent(int agent_fd, int lock) } static int -do_file(int agent_fd, int deleting, int key_only, char *file) +do_file(int agent_fd, int deleting, int key_only, int cert_only, char *file...
2017 Oct 26
3
[RFC 0/2] add engine based keys
Engine keys are private key files which are only understood by openssl external engines. ?The problem is they can't be loaded with the usual openssl methods, they have to be loaded via ENGINE_load_private_key(). ?Because they're files, they fit well into openssh pub/private file structure, so they're not very appropriately handled by the pkcs11 interface because it assumes the private