In short, the label ultimately depends on the file context specification, not the tool you use. Therefore as long as the file context specification is the same, then I suppose both setfiles and restorecon produce the same label on the file. Regards, Guido On Wed, 2011-04-27 at 15:59 -0700, Sam Gandhi wrote: > Looking at man pages of sefiles and restorecon , both mention that > they initialize security context database ( extended attributes) on > one or more filesystems. > > There are certainly differences between command line arguments, but > can these programs be used interchangeably as far as extended > attributes they assign to files? > > -Sam > > -- > This message was distributed to subscribers of the selinux mailing list. > If you no longer wish to subscribe, send mail to majordomo@xxxxxxxxxxxxx with > the words "unsubscribe selinux" without quotes as the message. > -- This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to majordomo@xxxxxxxxxxxxx with the words "unsubscribe selinux" without quotes as the message.