<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:DengXian;
        panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:"\@DengXian";
        panose-1:2 1 6 0 3 1 1 1 1 1;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
tt
        {mso-style-priority:99;
        font-family:"Courier New";}
span.EmailStyle20
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="blue" vlink="purple" style="word-wrap:break-word">
<div class="WordSection1">
<p class="MsoNormal">Yes, that\u2019s correct. Atime, mtime and ctime can be changed, in addition, if the file is under an immutable fileset, mtime and ctime can be changed, atime is overloaded with expiration time.
<o:p></o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><span style="font-size:12.0pt;color:black">From: </span></b><span style="font-size:12.0pt;color:black">&lt;hupancha@in.ibm.com&gt; on behalf of &quot;scale@us.ibm.com&quot; &lt;scale@us.ibm.com&gt;<br>
<b>Date: </b>Tuesday, March 29, 2022 at 8:57 AM<br>
<b>To: </b>gpfsug main discussion list &lt;gpfsug-discuss@gpfsug.org&gt;<br>
<b>Cc: </b>gpfsug-discuss &lt;gpfsug-discuss-bounces@gpfsug.org&gt;, &quot;juergen.hannappel@desy.de&quot; &lt;juergen.hannappel@desy.de&gt;, &quot;p.ward@nhm.ac.uk&quot; &lt;p.ward@nhm.ac.uk&gt;, Haizhu Liu &lt;haizhu@us.ibm.com&gt;<br>
<b>Subject: </b>Re: [EXTERNAL] Re: [gpfsug-discuss] immutable file in an immutable folder can be touched<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<p><span style="font-size:10.0pt;font-family:&quot;Arial&quot;,sans-serif">From design docs can see that Spectrum scale allows changing of timestamps for immutable files.</span><br>
<span style="font-size:10.0pt;font-family:&quot;Arial&quot;,sans-serif">+ Haizhu to confirm this as well.</span><br>
<br>
<span style="font-size:10.0pt;font-family:&quot;Arial&quot;,sans-serif">Regards, The Spectrum Scale (GPFS) team<br>
<br>
------------------------------------------------------------------------------------------------------------------<br>
If you feel that your question can benefit other users of &nbsp;Spectrum Scale (GPFS), then please post it to the public IBM developerWroks Forum at
<a href="https://www.ibm.com/developerworks/community/forums/html/forum?id=11111111-0000-0000-0000-000000000479">https://www.ibm.com/developerworks/community/forums/html/forum?id=11111111-0000-0000-0000-000000000479</a>.
<br>
<br>
If your query concerns a potential software error in Spectrum Scale (GPFS) and you have an IBM software maintenance contract please contact &nbsp;1-800-237-5511 in the United States or your local IBM Service Center in other countries.
<br>
<br>
The forum is informally monitored as time permits and should not be used for priority messages to the Spectrum Scale (GPFS) team.</span><br>
<br>
<img border="0" width="16" height="16" style="width:.1666in;height:.1666in" id="_x0000_i1026" src="cid:image001.gif@01D84352.57823540" alt="Inactive hide details for &quot;Paul Ward&quot; ---28-03-2022 06.56.04 PM---Hi Jürgen, We noticed this behaviour when we were trying to t"><span style="font-size:10.0pt;font-family:&quot;Arial&quot;,sans-serif;color:#424282">&quot;Paul
 Ward&quot; ---28-03-2022 06.56.04 PM---Hi Jürgen, We noticed this behaviour when we were trying to test immutability on our newly installed</span><br>
<br>
<span style="font-size:7.5pt;font-family:&quot;Arial&quot;,sans-serif;color:#5F5F5F">From: </span>
<span style="font-size:7.5pt;font-family:&quot;Arial&quot;,sans-serif">&quot;Paul Ward&quot; &lt;p.ward@nhm.ac.uk&gt;</span><br>
<span style="font-size:7.5pt;font-family:&quot;Arial&quot;,sans-serif;color:#5F5F5F">To: </span>
<span style="font-size:7.5pt;font-family:&quot;Arial&quot;,sans-serif">&quot;gpfsug main discussion list&quot; &lt;gpfsug-discuss@gpfsug.org&gt;</span><br>
<span style="font-size:7.5pt;font-family:&quot;Arial&quot;,sans-serif;color:#5F5F5F">Date: </span>
<span style="font-size:7.5pt;font-family:&quot;Arial&quot;,sans-serif">28-03-2022 06.56 PM</span><br>
<span style="font-size:7.5pt;font-family:&quot;Arial&quot;,sans-serif;color:#5F5F5F">Subject:
</span><span style="font-size:7.5pt;font-family:&quot;Arial&quot;,sans-serif">[EXTERNAL] Re: [gpfsug-discuss] immutable file in an immutable folder can be touched</span><br>
<span style="font-size:7.5pt;font-family:&quot;Arial&quot;,sans-serif;color:#5F5F5F">Sent by:
</span><span style="font-size:7.5pt;font-family:&quot;Arial&quot;,sans-serif">&quot;gpfsug-discuss&quot; &lt;gpfsug-discuss-bounces@gpfsug.org&gt;</span><o:p></o:p></p>
<div class="MsoNormal">
<hr size="0" width="100%" noshade="" style="color:#8091A5" align="left">
</div>
<p class="MsoNormal"><br>
<br>
<br>
<tt><span style="font-size:10.0pt">Hi Jürgen,</span></tt><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;"><br>
<br>
<tt>We noticed this behaviour when we were trying to test immutability on our newly installed solution.</tt><br>
<tt>We tried using touch with a date in the past to test the expiry date.</tt><br>
<tt>We noticed although touch changed the timestamp, it didn't change wherever the policy engine checked.</tt><br>
<br>
<tt>We found a work around for our testing, so I think we accepted it as a 'feature'.
</tt><br>
<tt>I can't find a support ticket, so I am assuming we didn't report it.</tt><br>
<br>
<br>
<tt>Kindest regards,</tt><br>
<tt>Paul</tt><br>
<br>
<tt>Paul Ward</tt><br>
<tt>TS Infrastructure Architect</tt><br>
<tt>Natural History Museum</tt><br>
<tt>T: 02079426450</tt><br>
<tt>E: p.ward@nhm.ac.uk</tt><br>
<br>
<br>
<tt>-----Original Message-----</tt><br>
<tt>From: gpfsug-discuss &lt;gpfsug-discuss-bounces@gpfsug.org&gt; On Behalf Of Hannappel, Juergen</tt><br>
<tt>Sent: 28 March 2022 13:25</tt><br>
<tt>To: gpfsug-discuss &lt;gpfsug-discuss@gpfsug.org&gt;</tt><br>
<tt>Subject: Re: [gpfsug-discuss] immutable file in an immutable folder can be touched</tt><br>
<br>
<tt>... if I try a similar action e.g on ext4 where I can use the posix way with ioctl(fd, FS_IOC_GETFLAGS, &amp;flags) flags |= FS_IMMUTABLE_FL; ioctl(fd, FS_IOC_SETFLAGS, &amp;flags)</tt><br>
<br>
<tt>the touch fails and the mtime remains unchanged....</tt><br>
<br>
<tt>----- Original Message -----</tt><br>
<tt>&gt; From: &quot;Juergen Hannappel&quot; &lt;juergen.hannappel@desy.de&gt;</tt><br>
<tt>&gt; To: &quot;gpfsug main discussion list&quot; &lt;gpfsug-discuss@spectrumscale.org&gt;</tt><br>
<tt>&gt; Sent: Monday, 28 March, 2022 11:50:50</tt><br>
<tt>&gt; Subject: [gpfsug-discuss] immutable file in an immutable folder can be </tt>
<br>
<tt>&gt; touched</tt><br>
<br>
<tt>&gt; Hi,</tt><br>
<tt>&gt; I have an immutable file in an immutable folder:</tt><br>
<tt>&gt; </tt><br>
<tt>&gt; mmchattr -i yes mutabilityTest/file</tt><br>
<tt>&gt; mmchattr -i yes mutabilityTest</tt><br>
<tt>&gt; ls -la mutabilityTest</tt><br>
<tt>&gt; total 18</tt><br>
<tt>&gt; drwxr-xr-x 2 hannappj it 4096 Mar 28 11:45 .</tt><br>
<tt>&gt; drwxr-xr-x 7 hannappj it 8192 Mar 28 11:45 ..</tt><br>
<tt>&gt; -rw-r--r-- 1 hannappj it &nbsp; 30 Mar 28 11:45 file</tt><br>
<tt>&gt; </tt><br>
<tt>&gt; mmlsattr -L mutabilityTest mutabilityTest/file | grep immu</tt><br>
<tt>&gt; immutable: &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;yes</tt><br>
<tt>&gt; immutable: &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;yes</tt><br>
<tt>&gt; </tt><br>
<tt>&gt; </tt><br>
<tt>&gt; Now i do a touch:</tt><br>
<tt>&gt; touch mutabilityTest/file</tt><br>
<tt>&gt; </tt><br>
<tt>&gt; no error, and the modification time is changed:</tt><br>
<tt>&gt; ls -la mutabilityTest</tt><br>
<tt>&gt; total 18</tt><br>
<tt>&gt; drwxr-xr-x 2 hannappj it 4096 Mar 28 11:45 .</tt><br>
<tt>&gt; drwxr-xr-x 7 hannappj it 8192 Mar 28 11:45 ..</tt><br>
<tt>&gt; -rw-r--r-- 1 hannappj it &nbsp; 30 Mar 28 11:46 file</tt><br>
<tt>&gt; </tt><br>
<tt>&gt; stat mutabilityTest/file</tt><br>
<tt>&gt; &nbsp;File: 'mutabilityTest/file'</tt><br>
<tt>&gt; &nbsp;Size: 30 &nbsp; &nbsp; &nbsp; &nbsp; Blocks: 2 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;IO Block: 4194304 regular file</tt><br>
<tt>&gt; Device: 2eh/46d Inode: 112989 &nbsp; &nbsp; &nbsp;Links: 1</tt><br>
<tt>&gt; Access: (0644/-rw-r--r--) &nbsp;Uid: (28851/hannappj) &nbsp; Gid: ( 1000/ &nbsp; &nbsp; &nbsp;it)</tt><br>
<tt>&gt; Access: 2022-03-28 11:46:28.454807982 +0200</tt><br>
<tt>&gt; Modify: 2022-03-28 11:46:28.454807982 +0200</tt><br>
<tt>&gt; Change: 2022-03-28 11:46:28.454807982 +0200</tt><br>
<tt>&gt; </tt><br>
<tt>&gt; </tt><br>
<tt>&gt; Shouldn't the immutability of the file include its change time?</tt><br>
<tt>&gt; </tt><br>
<tt>&gt; </tt><br>
<tt>&gt; </tt><br>
<tt>&gt; --</tt><br>
<tt>&gt; Dr. Jürgen Hannappel &nbsp;DESY/IT &nbsp; &nbsp;Tel. &nbsp;: +49 40 8998-4616</tt><br>
<tt>&gt; </tt><br>
<tt>&gt; _______________________________________________</tt><br>
<tt>&gt; gpfsug-discuss mailing list</tt><br>
<tt>&gt; gpfsug-discuss at gpfsug.org</tt><br>
<tt>&gt; <a href="https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fgpfsu">https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fgpfsu</a>&nbsp;</tt><br>
<tt>&gt; g.org%2Fmailman%2Flistinfo%2Fgpfsug-discuss_gpfsug.org&amp;amp;data=04%7C0</tt><br>
<tt>&gt; 1%7Cp.ward%40nhm.ac.uk%7C2c7afbe81224404273cf08da10b63ad3%7C73a29c014e</tt><br>
<tt>&gt; 78437fa0d4c8553e1960c1%7C1%7C0%7C637840672748970653%7CUnknown%7CTWFpbG</tt><br>
<tt>&gt; Zsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%</tt><br>
<tt>&gt; 3D%7C3000&amp;amp;sdata=I9bS8GSW5AeZbEg%2FQR2aCQd4KNd3lRmg2K1NJ3hQTk4%3D&amp;a</tt><br>
<tt>&gt; mp;reserved=0</tt><br>
<br>
<tt>_______________________________________________</tt><br>
<tt>gpfsug-discuss mailing list</tt><br>
<tt>gpfsug-discuss at gpfsug.org</tt><br>
<tt><a href="https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fgpfsug.org%2Fmailman%2Flistinfo%2Fgpfsug-discuss_gpfsug.org&amp;data=04%7C01%7Cp.ward%40nhm.ac.uk%7C2c7afbe81224404273cf08da10b63ad3%7C73a29c014e78437fa0d4c8553e1960c1%7C1%7C0%7C637840672749126883%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&amp;sdata=O3t6BTddF3gL4DGlRAA9eweV8Vk%2BdwXj1We4GrGU%2BY8%3D&amp;reserved=0">https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fgpfsug.org%2Fmailman%2Flistinfo%2Fgpfsug-discuss_gpfsug.org&amp;data=04%7C01%7Cp.ward%40nhm.ac.uk%7C2c7afbe81224404273cf08da10b63ad3%7C73a29c014e78437fa0d4c8553e1960c1%7C1%7C0%7C637840672749126883%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&amp;sdata=O3t6BTddF3gL4DGlRAA9eweV8Vk%2BdwXj1We4GrGU%2BY8%3D&amp;reserved=0</a>&nbsp;</tt><br>
<br>
<tt>_______________________________________________</tt><br>
<tt>gpfsug-discuss mailing list</tt><br>
<tt>gpfsug-discuss at gpfsug.org</tt><br>
<tt><a href="http://gpfsug.org/mailman/listinfo/gpfsug-discuss_gpfsug.org">http://gpfsug.org/mailman/listinfo/gpfsug-discuss_gpfsug.org</a>&nbsp;</tt><br>
</span><br>
<br>
<br>
<o:p></o:p></p>
</div>
</body>
</html>