search for: chattr

Displaying 20 results from an estimated 150 matches for "chattr".

Did you mean: chatter
2006 Jul 10
2
chattr +T not implemented?
We run a third party application that creates an inordinate amount of subdirectories in a single directory. To speed up I/O, I wanted to set the T attribute on the directory that will hold the subdirectories. The "chattr +T /usr/local/lepus-bb/a-0607" command returns status 0, but when I verify the setting, the attribute isn't there: # lsattr -d /usr/local/lepus-bb/a-0607 ------------- /usr/local/lepus-bb/a-0607 Is this attribute implemented? The manual pages entry for chattr suggests it is, but...
2002 Feb 04
2
ext3 and chattr +S on postfix spools
Postfix <http://www.postfix.org> does a chattr +S on its spool directory when it is installed on Linux. This is what is written in the postfix startup script -- # # LINUX by default does not synchronously update directories - # that's dangerous for mail. # if [ -f /usr/bin/chattr ] then CHATTR="/usr/bin/chattr +S" else CHATT...
2012 Jun 13
2
[PATCH] E2fsprogs: add missing usage for No_COW
Add the missing usage for No_COW since we''ve supported No_COW flag. Signed-off-by: Liu Bo <liubo2009@cn.fujitsu.com> --- misc/chattr.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/misc/chattr.c b/misc/chattr.c index 141ea6e..24254cc 100644 --- a/misc/chattr.c +++ b/misc/chattr.c @@ -83,7 +83,7 @@ static unsigned long sf; static void usage(void) { fprintf(stderr, - _("Usage: %s [-RVf] [-+=Aa...
2017 Oct 02
4
how to prevent files and directories from being deleted?
You can try chattr? https://en.wikipedia.org/wiki/Chattr 2017-10-01 12:26 GMT-03:00 Alexander Dalloz <ad+lists at uni-x.org>: > Am 01.10.2017 um 17:21 schrieb hw: > >> Hi, >> >> how can I prevent files/directories like /var/run/mariadb from being >> deleted on reboot? Lighttpd...
2013 Sep 27
1
compression via chattr
Enabling compression via chattr +c works with ZLIB (default method) only, right? Since there is no way to specify a compression method. Cannot I use LZO this way? Thanks in advance, -- w -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majordomo@vger.kernel.org Mor...
2013 Jun 07
2
How do I safely terminate COW on pre-existing files?
...ure on all of my OS files. It is a nice feature for user files, but I don''t see a clear benefit for the actual OS files. And I suspect that COW induced fragmentation is causing or aggravating problems with my system including the boot open_ctree problem. I had planned to recursively chattr these files to "nodatacow" status but then I ran into this cryptic warning on the chattr man page: (Note: For btrfs, the ''C'' flag should be set on new or empty files. If it is set on a file which already has data blocks, it is undefined when the blocks assigned to th...
2002 Jul 08
1
chattr +j
Hi list, I just noticed in the chattr(1) man page that there exists a 'j' attribute which actually does the same thing that data=journal mount option would do, expect it only sets this property on the directories of my choice. Big Thanks to the one that came up with that idea :) It allows me to set +j on mail queues that must...
2013 Jan 08
2
chattr +C vs. btrfs subvolume snapshot
What happens if you set an individual file inside a subvolume as nocow (chattr +C) and then take a snapshot of that subvolume and modify the file in both? Will btrfs now ignore the nocow attribute completely or will it do "as few copies as possible"? (I''d love to know if it''s possible to visualize the fragmentation of a single file.) -- To unsubsc...
2013 Aug 20
2
Re: Stop the relabeling of CD images
...selinux' relabel='no'/> >   <seclabel model='dac' relabel='no'/> > </source> I've just tried it and the SELinux label is not changed anymore, but the ownership is still changed to qemu:qemu. > I'm also not sure why you think to resort to chattr +i, but if using > that causes libvirt heartburn, maybe we have a bug to fix to be more > tolerant of failed label attempts due to chattr. I resorted to `chattr +i` because I got tired of libvirtd messing with my files even if it wasn't required.  The official versions of libvirtd from F...
2003 Oct 04
0
chattr +j ==> Oops
[sent this to ext2-devel but haven't seen any other traffic there, so cc-ing it here] [Last week] while configuring a new box I came across a site suggesting: chattr -R -S +j +A /var/spool/postifx to improve postfix's speed on ext3, in lieu of mounting a separate fs there w/ data=journal. So I tried it. Both on the new box (2.4.21-7um) and on my laptop (about three csets shy of the v2.6.0-test6 tag). Both bombed out in the journal. My uml provider fo...
2012 Jun 13
1
[PATCH v2] E2fsprogs: add missing usage for No_COW
Add the missing usage for No_COW since we''ve supported No_COW flag. Signed-off-by: Liu Bo <liubo2009@cn.fujitsu.com> --- v1->v2: sort options alphabetically, thanks to Roman Mamedov. misc/chattr.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/misc/chattr.c b/misc/chattr.c index 141ea6e..24254cc 100644 --- a/misc/chattr.c +++ b/misc/chattr.c @@ -83,7 +83,7 @@ static unsigned long sf; static void usage(void) { fprintf(stderr, - _("Usage: %s [-RVf] [-+=Aa...
2002 Feb 05
0
[akpm@zip.com.au: Re: ext3 and chattr +S on postfix spools]
...rom: Andrew Morton <akpm@zip.com.au> X-Mailer: Mozilla 4.77 [en] (X11; U; Linux 2.4.18-pre7 i686) To: Yusuf Goolamabbas <yusufg@outblaze.com> Cc: Wietse Venema <wietse@porcupine.org>, adi <adi@acme.com>, ext3-users@redhat.com, postfix-users@postfix.org Subject: Re: ext3 and chattr +S on postfix spools Date: Mon, 04 Feb 2002 22:32:25 -0800 Yusuf Goolamabbas wrote: > > Maybe there is an opening for "mtafs" :) which would have the semantics > which the MTA authors want and reasonable features which are useful to > others [journalling,speed,io-clustering,...
2014 Sep 13
2
C5 : Deleting un-deletable files ?
...; Access: 2014-09-13 17:36:28.000000000 +0100 > Modify: 1949-12-01 22:31:41.000000000 +0000 > Change: 2030-03-17 01:15:08.000000000 +0000 rm: cannot remove `00002437': Operation not permitted However using 'lsattr 00002437' to expose the flags, then removing the flags with 'chattr -{flag) 00002437' eventually permitted me to delete the file with 'rm 00002437'. The remaining two files appear un-touchable. lsattr 00002435 lsattr: Operation not supported While reading flags on 00002435 chattr -a 00002434.thm ('a' was a random choice) chat...
2013 Aug 19
2
Stop the relabeling of CD images
...nding files.  Since the installation media is no big secret, I have labeled the files with system_u:object_r:public_content_t:s0, but libvirtd keeps changing them to system_u:object_r:svirt_image_t:s0.  It also changes the ownership to qemu:qemu.  This means that I can not make the files immutable (chattr +i). The XML dump of the machine looks like this :     <disk type='file' device='cdrom'>         <driver name='qemu' type='raw'/>         <source file='/mnt/extra/Software/Linux/Fedora/Fedora-Live-Desktop-x86_64-19/Fedora-Live-Desktop-x86_64-19-1...
2018 May 09
3
Samba4 on Ubuntu 18.04
> Date: Tue, 8 May 2018 06:52:56 -0700 > From: Gregory Sloop <gregs at sloop.net> > To: samba at lists.samba.org > Subject: Re: [Samba] Samba4 on Ubuntu 18.04 > > A sort of digest reply... > > RPvs> Not sure, what is a samba4/adc ??? > RPvs> Or do you mean a 'Has anybody joined a Samba DC on Ubuntu 18.04' ? > Yes, doing an active directory
1996 Nov 18
1
Chattr +i and securelevel
has anyone played with the securelevel variable in the kernel and the immutable flags in the ext2 file system? The only way I have found to change the flag is by patching sched.c from int securelevel=0 to int securelevel=1 The sysctrl code seems to allow the setting of the flag only by init (PID=1) and only upwards (0->1, etc). The problem is that I haven''t found a way to get init
2013 Aug 20
1
Re: Stop the relabeling of CD images
...seclabel model='dac' relabel='no'/> >>> </source> >> >> I've just tried it and the SELinux label is not changed anymore, but >> the ownership is still changed to qemu:qemu. >> >>> I'm also not sure why you think to resort to chattr +i, but if using >>> that causes libvirt heartburn, maybe we have a bug to fix to be more >>> tolerant of failed label attempts due to chattr. >> >> I resorted to `chattr +i` because I got tired of libvirtd messing with >> my files even if it wasn't required....
2001 Jul 26
5
ext3-2.4-0.9.4
An update to the ext3 filesystem for 2.4 kernels is available at http://www.uow.edu.au/~andrewm/linux/ext3/ The diffs are against linux-2.4.7 and linux-2.4.6-ac5. The changelog is there. One rarely-occurring but oopsable bug was fixed and several quite significant performance enhancements have been made. These are in addition to the performance fixes which went into 0.9.3. Ted has put out a
2001 Jul 30
1
ext3-2.4-0.9.5
...of e2fsprogs plus the stomping of various ext3 bugs gives us preliminary support for external journals. - Redesigned the handling of synchronous operations. Much simplified and several bugs fixed. - Drastically improved throughput with synchronous mounts - they're now as efficient as `chattr +S'. - Fixed an O(n^2) bottleneck in the commit code. - Implemented transaction handle batching for a big throughput increase with synchronous operations. The external journal code seems to work OK - brief usage details are at the web site. The intent here is that the external journal be...
1999 Nov 27
1
Re: Programming ...
...ress of the code in the string buffer into the correct location in the > stack. When the program exits ... When the function returns ... > In one case I saw, a perp deleted /etc/hosts.deny, ran adduser to create > user rewt, then telnetted into the system. /etc/hosts.deny is now "chattr > -i". What stopped the perp in that case was that /etc/skel/.bashrc had an > exit at the end of the script. He was immediately logged out and went > away. He was using the buffer overflow in named 4.9.6 to do it. Was that "chattr +i" ? What difference does it make aga...