similar to: [PATCH 2/2] Btrfs: Fix setting umask when POSIX ACLs are not enabled

Displaying 20 results from an estimated 300 matches similar to: "[PATCH 2/2] Btrfs: Fix setting umask when POSIX ACLs are not enabled"

2008 Jul 20
26
[PATCH] NFS support for btrfs - v2
Hi, Here''s an implementation of NFS support for btrfs. It does not work in one particular case as described in http://www.mail-archive.com/linux-btrfs@vger.kernel.org/msg00298.html. This uses the btrfs_iget helper introduced previously. Comments ? --- Signed-off-by: Balaji Rao <balajirrao@gmail.com> diff -r 3f0eee804974 Makefile --- a/Makefile Thu Jun 26 10:34:20 2008 -0400
2010 Jan 14
0
[PATCH] Include subvolume= and metadata_ratio= in /cat/proc
Hi all, this patch include in /proc/mount the info about which subvolume is mounted and which metadata_ratio value is used. $ cat /proc/mounts rootfs / rootfs rw 0 0 [...] /dev/sdc /tmp/t4 btrfs rw,relatime,metadata_ratio=20 0 0 /dev/sdc /mnt/btrfs btrfs rw,relatime,degraded,metadata_ratio=20,subvol=snap- of-root 0 0 BR G.Baroncelli commit 3d7ea7bbd70a66c4d0f369b2879c503b722e8834 Author:
2012 Apr 09
9
[PATCH] Btrfs: use i_version instead of our own sequence
We''ve been keeping around the inode sequence number in hopes that somebody would use it, but nobody uses it and people actually use i_version which serves the same purpose, so use i_version where we used the incore inode''s sequence number and that way the sequence is updated properly across the board, and not just in file write. Thanks, Signed-off-by: Josef Bacik
2006 Oct 26
8
Problem mounting with credentials file
I am running Gentoo. I am trying to get my /etc/fstab to automatically mount a remote Samba share at boot time. I have the following in my /etc/fstab file: //192.168.0.2/share /mnt/share cifs auto,credentials=/home/user/.smbpasswd,uid=1000,umask=002,user 0 0 This works fine if I specify the username and password in the /etc/fstab file. However, if I try to use the credentials file
2008 Aug 28
0
[PATCH] btrfs: cleanup d_obtain_alias useage
d_obtain_alias is intended as a tailcall that can pass in errors encoded in the inode pointer if needed, so use it that way instead of duplicating the error handling. Signed-off-by: Christoph Hellwig <hch@lst.de> Index: btrfs-unstable/export.c =================================================================== --- btrfs-unstable.orig/export.c 2008-08-28 19:56:13.000000000 -0300 +++
2023 Jan 30
1
[PATCH 00/12] acl: remove remaining posix acl handlers
On Mon, Jan 30, 2023 at 10:10:52AM +0100, Christian Brauner wrote: > However, a few filesystems still rely on the ->list() method of the > generix POSIX ACL xattr handlers in their ->listxattr() inode operation. > This is a very limited set of filesystems. For most of them there is no > dependence on the generic POSIX ACL xattr handler in any way. > > In addition, during
2006 Mar 17
0
Mount fails with EBUSY if running xen0 kernel
Hi, I''ve two SCSI disks attached to my system (Ubuntu Dapper). One is the system disk. The other one should be used for the guest images. My problem now is that I cannot mount /dev/sdb1 (ext3 fs) when booted with a xen0 kernel (2.6.12-xen0 as well as 2.6.16-xen0). Booting the normal Dapper kernel (2.6.15 no xen support) the disk mounts fine. strace mount /dev/sdb1 /images Shows:
2010 Nov 17
0
[PATCH] Btrfs: handle NFS lookups properly
People kept reporting NFS issues, specifically getting ESTALE alot. I figured out how to reproduce the problem SERVER mkfs.btrfs /dev/sda1 mount /dev/sda1 /mnt/btrfs-test <add /mnt/btrfs-test to /etc/exports> btrfs subvol create /mnt/btrfs-test/foo service nfs start CLIENT mount server:/mnt/btrfs /mnt/test cd /mnt/test/foo ls SERVER echo 3 > /proc/sys/vm/drop_caches CLIENT ls
2008 Oct 17
3
[PATCH 0/3] ocfs2: add security EA and ACL support v3
Hi, These three patches fix the problems in the version two. And them base on the Tao's patches: ocfs2/xattr: xattr improvement The first patch fix some problem in xattr code. The second patch add security EA support. The third patch add ACL support. Best regards, tiger
2023 Jan 25
2
[PATCH 00/12] acl: remove remaining posix acl handlers
Hey everyone, after we finished the introduction of the new posix acl api last cycle we still left the generic POSIX ACL xattr handler around for two reasons. First, because a few filesystems relied on the ->list() method of the generic POSIX ACL xattr handlers in their ->listxattr() inode operation. Second, during inode initalization in inode_init_always() the registered xattr handlers in
2009 Jun 29
1
wine/RosettaStone breakage from recent kernel commit
Hi, I've been running the foreign language training program The Rosetta Stone(TRS) on wine for months now, but a recent commit to the linux kernel has caused TRS to be unable to read the DVD drive, where the program's data files are kept. Strangely, winefile can still read the data DVD, but TRS cannot, and I'm stumped. Below is the guilty kernel commit (rather long, sorry). Can
2016 May 23
0
Re: [PATCH] umask: Use /proc/<PID>/status to read umask in Linux >= 4.7.
On Mon, May 23, 2016 at 12:12:21PM +0300, Roman Kagan wrote: > On Sat, May 21, 2016 at 01:14:40PM +0100, Richard W.M. Jones wrote: > > + path = safe_asprintf (g, "/proc/%d/status", getpid ()); > > Why not "/proc/self/status"? Hmm indeed why not :-( I will fix it ... Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read
2010 Dec 01
2
[RFC PATCH 4/4 v2] Btrfs: deal with filesystem state at mount, umount
Since there is a filesystem state, we should deal with it carefully at mount, umount and remount. - At mount, the FS state should be checked if there is error on these FS. If it does have, btrfsck is recommended. - At umount, the FS state should be saved into disk for consistency. Signed-off-by: Liu Bo <liubo2009@cn.fujitsu.com> --- fs/btrfs/disk-io.c | 47
2016 May 21
1
[PATCH] umask: Use /proc/<PID>/status to read umask in Linux >= 4.7.
Since Linux 4.7, the process umask is available in /proc/<pid>/status. See: https://github.com/torvalds/linux/commit/3e42979e65dace1f9268dd5440e5ab096b8dee59 Use this value if available, else fall back to the existing codepath for Linux <= 4.6 and other Unix. --- src/umask.c | 86 +++++++++++++++++++++++++++++++++++++++++++++++++++++++------ 1 file changed, 78 insertions(+), 8
2003 Jan 29
0
Ext3, orphans and read-only
Hi, I've seen a problem where on recovery after a crash the orphan cleanup code clears the read_only bit and does not reset it. This causes the the fsck to drop to the "fix filesystem" prompt simply because the root filesystem is now mounted rw. It looks like this: Creating rootdevice Mounting rootfilesystem EXT3-fs: INFO: recovery required on readonly filesystem. EXT3-fs:
2006 Aug 03
0
changing umask on project/tmp files?
Is there anyway inside of rails to change the umask on the files created in the "tmp" directory? I tried adding "File.umask 0000" to config/enviroment.rb and no go. I''m afraid I''m a complete noob when it comes to ruby and rails. Here''s the situation. We''re trying to set up a RoR development enviroment, but the files for most of our
1999 Sep 03
0
umask problems, etc.
Three quick notes-- 1) Umask defaults to 000 when running an xterm or gnome-terminal on redhat 6.0, unless you run a login shell. This is a Bad Thing. 2) The binary package for the inews-2.2.1-1 update released 9/1/99 isn''t on the redhat updates site; inn and inn-devel are insufficient. I had to compile the SRPM. 3) Nothing. There is no third note.
2008 Mar 07
0
umask in nfs
Normal users umask is 022 set in /etc/bashrc Obviously I can change that value to 002 but that would affect all files created by each user. Is it possible to set a different umask on nfs mounts only so that user created files have a umask of 002 on files saved onto that mount? man mount shows this is possible on some filesystems but man nfs doesn't suggest that this is possible. Craig
2013 Jul 10
0
install.packages umask configuration
Hi, The R-admin manual says: "If installing packages on a Unix-alike to be used by other users, ensure that the system umask is set to give sufficient permissions (see also Sys.umask in R). (To a large extent this is unnecessary in recent versions of R, which install packages as if umask = 022.)" I want install.packages() to honor my umask which is 002. I can't find a way to do
2012 Feb 10
0
[PATCH] btrfs: honor umask when creating subvol root
Set the subvol root inode permissions based on the current umask. --- fs/btrfs/inode.c | 6 ++++-- 1 files changed, 4 insertions(+), 2 deletions(-) diff --git a/fs/btrfs/inode.c b/fs/btrfs/inode.c index 32214fe..b88e71a 100644 --- a/fs/btrfs/inode.c +++ b/fs/btrfs/inode.c @@ -6696,8 +6696,10 @@ int btrfs_create_subvol_root(struct btrfs_trans_handle *trans, int err; u64 index = 0; -