Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 07-15-2015, 04:36 AM   #1
LQ Newbie
Registered: Jul 2015
Posts: 1

Rep: Reputation: Disabled
chattr: Operation not supported

Hi, guys. I am a newbie in this world and studying based on RHEL7. Today I have encountered an error when I tried to put extended file attribute like this;

[root@host1 user1]# ll file1
-r-xr--r--. 1 user1 user1 1056 Jul 15 18:53 file1
[root@host1 user1]# chattr +c file1
chattr: Operation not supported while setting flags on file1
The file is simple text file and the file system is xfs.

Thanks in advance for any comment and advice.
Have a good day =)

Last edited by chris101.park; 07-15-2015 at 04:37 AM.
Old 07-15-2015, 06:18 AM   #2
Registered: Mar 2013
Distribution: Redhat, Ubuntu
Posts: 537

Rep: Reputation: 149Reputation: 149
xfs doesn't support chattr compression yet.

$ man xfs | tail -n21
       The XFS filesystem supports setting the following file attributes on Linux systems using the chattr(1) utility:

       a - append only
       A - no atime updates
       d - no dump
       i - immutable
       S - synchronous updates

       For descriptions of these attribute flags, please refer to the chattr(1) man page.

       chattr(1), xfsctl(3), mount(8), mkfs.xfs(8), xfs_info(8), xfs_admin(8), xfsdump(8), xfsrestore(8).

Last edited by mddnix; 07-15-2015 at 06:19 AM.
1 members found this post helpful.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
setfacl: operation not supported viewcam Linux - Newbie 7 03-25-2013 01:01 PM
setfacl: Operation not supported nekton Linux - Security 1 05-09-2008 01:57 PM
can't do iwlist scan : operation not supported flowchartz Linux - Wireless Networking 7 02-09-2006 07:39 PM
SIOCETHTOOL: Operation not supported tallen Linux - Newbie 2 01-26-2006 09:28 PM
wpasupplicant: operation not supported error Markup Linux - Wireless Networking 1 09-14-2005 09:20 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:38 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration