I'm trying to get a script working however I'm having issues with a particular line trying to set file attributes with setfattr.
The line in question is
ret=os.system('setfattr -n "user.dummy" -v "dummy" /apachelogs/data/file')
The fstab output of this location is as follows.
/dev/sdb1 /apachelogs reiserfs user,noauto,rw,exec,suid,user_xattr 0 2
Returns the error message:
setfattr: /apachelogs/data/file: Operation not supported
Can anyone give me any advice on what I might be doing wrong? My google-fu is only telling me that the problem usually occurs when someone doesn't prefix user on the first variable.
Cheers.
Asked by Peleus
(179 rep)
Jan 22, 2014, 05:12 PM
Last activity: Nov 24, 2023, 06:18 AM
Last activity: Nov 24, 2023, 06:18 AM