Hi,

On Thu, Jun 19, 2014 at 08:32:43PM +1000, Brian Chadwick wrote:
> Hi
> 
> I cant get file contexts to work with F2FS. I have tried a variety of 
> kernels up to the latest 3.16rc1 with the Security Labels option 
> selected in the config. I am using the latest git of f2fs-tools.
> 
> But when I try to set a security context I get the following:
> 
> chcon: failed to change context of ‘/mnt/f2fs/sig’ to 
> ‘system_u:--reference=/home/brian/sig:unlabeled_t:s0’: Operation not 
> supported
> 
> cp -a also seems unable to set the correct context.
> 
> Is there a bug or am I missing something?
> 
> mount details are:
> 
> /dev/sda6 on /mnt/f2fs type f2fs 
> (rw,relatime,background_gc=on,user_xattr,acl,active_logs=6)

IMO, you missed -o seclabel.

Thanks,

> 
> Kind regards
> 
> Brian Chadwick
> 
> ------------------------------------------------------------------------------
> HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
> Find What Matters Most in Your Big Data with HPCC Systems
> Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
> Leverages Graph Analysis for Fast Processing & Easy Data Exploration
> http://p.sf.net/sfu/hpccsystems
> _______________________________________________
> Linux-f2fs-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel

-- 
Jaegeuk Kim

------------------------------------------------------------------------------
HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
Find What Matters Most in Your Big Data with HPCC Systems
Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
Leverages Graph Analysis for Fast Processing & Easy Data Exploration
http://p.sf.net/sfu/hpccsystems
_______________________________________________
Linux-f2fs-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel

Reply via email to