search for: lsattr

Displaying 20 results from an estimated 60 matches for "lsattr".

2014 Sep 13
2
C5 : Deleting un-deletable files ?
...circa 2001. > 2411957 p--x---rwx 65487 299196551 2101198676 775118685 Apr 5 1943 00002434.thm > 2411959 ?--xr-srwT 6581 42211 24637 1333254828 Jan 30 2029 00002435 > 2411960 -rwxr-xr-x 44608 305922048 3679253821 14580319157523353423 Dec 1 1949 00002437 lsattr: Operation not supported While reading flags on ..... stat ....... A "normal" file looks this this example: > File: `00002436' > Size: 47537 Blocks: 96 IO Block: 4096 regular file > Device: fd00h/64768d Inode: 2411956 Links: 1 > Access:...
2010 Dec 01
1
awk help
Hi all Anyone can help to let me know how to ls -1 | lsattr ls -al /folder | awk '{ print $2}' | lsattr Thank you
2002 Apr 01
3
Cannot delete a file on 2.4.18
...: 202 Blocks: 8 IO Block: 4096 Regular File Device: 1606h/5638d Inode: 48907 Links: 1 Access: (0755/-rwxr-xr-x) Uid: ( 0/ root) Gid: ( 0/ root) Access: Tue Jan 29 08:50:53 2002 Modify: Tue Jan 15 01:25:56 2002 Change: Sun Mar 31 20:12:30 2002 root ~ #lsattr /var/lib/dpkg/info/groff.postrm s-S-adAc-D---- /var/lib/dpkg/info/groff.postrm root ~ #rm /var/lib/dpkg/info/groff.postrm rm: cannot unlink `/var/lib/dpkg/info/groff.postrm': Operation not permitted root ~ #rm /var/lib/dpkg/info/zsh.postrm root ~ #mount | grep " /var" /dev/hdc6 on...
2006 Aug 03
2
how can I tell if a directory is using dir_index?
Hi, I enabled dir_index on a filesystem and dumpe2fs -h also reports this. My understanding is that this will be used for newly created directories and that old directories can be indexed using "fsck.ext2 -D". Two questions: - Is there a way to tell is a given directory is indexed or not? - Is there a better way to index the root fs than to boot off a live CD? Best, Norbert
2019 Dec 13
2
Preserving ext2-4 attributes
...not preserve ext2-4 attributes (even when using the -a, -A, and -X flags). Note that these are different from extended attributes: Extended attributes are manipulated using programs such as getfattr and setfattr (on Unix-like systems), whereas ext2-4 attributes are manipulated by programs such as lsattr and chattr. These attributes include features like "don't update atime" or "immutable". Here's an example (run as the superuser, so permissions aren't an issue). A file x has no special attributes, then the "i" attribute is added and verified to be pre...
2016 Dec 15
2
Can't delete or move /home on 7.3 install
Tried this in both AWS and GCE as I though it may be a specific cloud vendor issue. SELinux is disabled, lsof | grep home shows nothing, lsattr /home shows nothing. Simply get "Device or resource busy." Works just find on 7.2 so I'm kinda at a loss. Scanned over the RHEL release notes and didn't see anything. Anyone else have this issue? We move our /home to another mount point and symlink /home to it .. -- "repli...
2012 Sep 09
13
enquiry about defrag
Hi all, i am new on btrfs, i am testing KVM on btrfs (host: kernel x86-64 3.5.3), the performance is reasonable. I have two question on defrag, can someone help me? 1. According to btrfs wiki, defragment a COW file will produce two unrelated files. Does it apply to the "autodefrag" mount option? 2. Is there any command for the fragmentation status of a file/dir ? e.g. fragment
2016 Dec 15
2
Can't delete or move /home on 7.3 install
...anluca Cecchi wrote: > On Thu, Dec 15, 2016 at 2:49 AM, Glenn E. Bailey III < > replicant at dallaslamers.org> wrote: > >> Tried this in both AWS and GCE as I though it may be a specific cloud >> vendor issue. SELinux is disabled, lsof | grep home shows nothing, >> lsattr /home shows nothing. Simply get "Device or resource busy." >> >> Works just find on 7.2 so I'm kinda at a loss. Scanned over the RHEL >> release notes and didn't see anything. Anyone else have this issue? We >> move our /home to another mount point and syml...
2003 May 31
0
chmod g+w on directory causes script not to execute anymore
...tradicts that hypothesis. Anyways, removing the echo command from the script: 10:09:39 markus ~/test>cat myTest #!/bin/sh #echo testing 10:09:41 markus ~/test> also gives no result. As the filesystem is ext3 I thought there might be something wrong hidden, but no (if I interpret lsattr output correctly): 14:14:38 markus ~>lsattr | grep test ------------- ./test 14:14:47 markus ~>cd test/ 14:16:46 markus ~/test>lsattr ------------- ./myTest 14:16:48 markus ~/test> Is there a workaround? The contents of my /etc/fstab is: 20:51:31 markus ~>cat /etc/fst...
2002 Aug 21
1
Ext3 indexed directory extension.
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, Searching in the ext3 filesystem mailing list I have seen that there is an indexed directory extension for it. Is this extension stable code ? Has anyone test it ? How may I obtain and install it ? Is it available in any of the last kernel releases ? Greetings. - --- Carles Xavier Munyoz Baldó carles@descom.es Descom Consulting Telf: +34
2011 Dec 12
2
Cannot remove a file
I have used restore to restore a snapshot of home data. From the root of this restore a file called aquota.user exists but cannot be removed: # mount|grep temp /dev/mapper/vgraid-temprestore on /mnt/temprestore type ext3 (rw) # cd /mnt/temprestore/home # ll -d . drwxr-xr-x 2 root root 4096 Dec 12 11:12 . # ll total 12 -rw------- 1 root root 8192 Sep 30 10:21 aquota.user # rm aquota.user rm:
2012 May 25
2
cannot generate tempfile `/tmp/puppet.30616.9'
I have three (out of 90) machines with the error: cannot generate tempfile `/tmp/puppet.30616.9'' I have plenty of disk and plenty of inodes. My temp directory is permissioned: drwxrwxrwt 4 root root 20480 2012-05-24 01:33 /tmp I get these for two puppet items on each row. The daemon is not running. I run it manually using /usr/sbin/puppetd --verbose --no-daemonize --onetime
2016 Dec 15
2
Can't delete or move /home on 7.3 install
...16 at 2:49 AM, Glenn E. Bailey III < >> > replicant at dallaslamers.org> wrote: >> > >> >> Tried this in both AWS and GCE as I though it may be a specific cloud >> >> vendor issue. SELinux is disabled, lsof | grep home shows nothing, >> >> lsattr /home shows nothing. Simply get "Device or resource busy." >> >> >> >> Works just find on 7.2 so I'm kinda at a loss. Scanned over the RHEL >> >> release notes and didn't see anything. Anyone else have this issue? >> We >> >> m...
2020 Jul 06
2
Permission denied for home, even when it's 777
...lem is not Linux permissions for the user directory, permission is still denied when permissions are to 777. I don't think the problem is selinux, because no denials appear in any logs. I don't think it's an extended attributes issue from xfs, because I don't see any attributes from lsattr, and only "selinux" in attr -l. The problem is specific to home, other shares owned by the same user work as expected. The share-logs logs show errors like this: Error opening file . (NT_STATUS_ACCESS_DENIED) (local_flags=0) (flags=0) 192.168.0.8.log.old: smbd_smb2_request_error_ex...
2006 Jul 10
2
chattr +T not implemented?
...ount 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 when I check the chattr usage, "T" isn't listed: #chattr -v usage: chattr [-RV] [-+=AacDdijsSu] [-v version] files.....
2005 Mar 15
18
[Bug 1001] Error on MAKE while compiling SRPMS and tar.gz but not while installing RPMS
http://bugzilla.mindrot.org/show_bug.cgi?id=1001 Summary: Error on MAKE while compiling SRPMS and tar.gz but not while installing RPMS Product: Portable OpenSSH Version: 3.7.1p2 Platform: All OS/Version: Linux Status: NEW Severity: critical Priority: P2 Component: ssh
2001 Jul 18
3
Ok, Im an idiot. Can't remount the ext3 filesystem because I deleted the /.jounral file...
...the system... I figured I could rerun tune2fs and have it rebuild the journal file (like I did when I first converted from ext2 to ext3..) Well, it said it already had a journal file. Ok, lets delete it (WTF was I thinking...) Couldn't delete it (extended attrs) so I take a quick look with lsattr and see its +id. So I removed the attrs and delete the file. Try to rerun tune2fs -j to rebuild the journal, it still says it already has a journal file... Ok, fine. Ill just boot back up into 2.2.19 (non-ext3) with the FS as ext2 and worry about that later.... Well, now whenever I boot I get &...
2005 Jun 21
3
Bug#315071: Results to your question
Hi, See below: # getent group adm adm:x:4:root,adm,daemon And: # ls -l /var/log total 20384 -rw-r----- 1 root adm 43310 Jun 21 16:00 auth.log -rw-r----- 1 root adm 128247 Jun 19 06:47 auth.log.0 -rw-r----- 1 root adm 10318 Jun 12 06:47 auth.log.1.gz -rw-r----- 1 root adm 9508 Jun 5 06:47 auth.log.2.gz -rw-r----- 1 root adm 12475 May 29 06:47 auth.log.3.gz
2020 Jul 08
1
Permission denied for home, even when it's 777
...missions for the >user directory, permission is still denied when permissions are to 777. >I don't think the problem is selinux, because no denials appear in any >logs. I don't think it's an extended attributes issue from xfs, because >I don't see any attributes from lsattr, and only "selinux" in attr -l. >The problem is specific to home, other shares owned by the same user >work as expected. > > > >The share-logs logs show errors like this: > >Error opening file . (NT_STATUS_ACCESS_DENIED) (local_flags=0) >(flags=0) > >19...
2016 Jul 07
3
no boot, no message
...83-4772-8E79-3D69D8477DE4 (Linux filesystem) Partition unique GUID: C66B0D94-4F3C-47E9-8630-141B5CC37B97 First sector: 2048 (at 1024.0 KiB) Last sector: 514047 (at 251.0 MiB) Partition size: 512000 sectors (250.0 MiB) Attribute flags: 0000000000000004 Partition name: 'Linux filesystem' # lsattr extlinux/ ---------------- extlinux/poweroff.c32 ---------------- extlinux/reboot.c32 ---------------- extlinux/libcom32.c32 ---------------- extlinux/vesamenu.c32 ---------------- extlinux/syslinux.cfg~ ----i----------- extlinux/ldlinux.sys ---------------- extlinux/libmenu.c32 ---------------- ex...