Hi Shain, You can't disable the system extended attributes and they shouldn't cause any problem unless you are accessing files with these attributes on systems that run Solaris 10 releases, which don't understand how to translate them.
Is this is cause of the permission denied errors? If you want to disable users from creating them, then remount the the file system with noxattr. See the output below of how the attr creation succeeds and then errors after the file system is mounted with noxattr. Or, you can create a file system with noaxttr on, like this: # zfs create -o xattr=off rpool/fs4 Thanks, Cindy # zfs create rpool/fs3 # cd /rpool/fs3 # touch file.1 # runat file.1 ls -l total 1 -r--r--r-- 1 root root 156 Jan 11 13:23 SUNWattr_ro -rw-r--r-- 1 root root 472 Jan 11 13:23 SUNWattr_rw # runat file.1 touch attr_1 # runat file.1 ls -l total 2 -r--r--r-- 1 root root 156 Jan 11 13:23 SUNWattr_ro -rw-r--r-- 1 root root 472 Jan 11 13:23 SUNWattr_rw -rw-r--r-- 1 root root 0 Jan 11 13:23 attr_1 # cd / # zfs umount rpool/fs3 # zfs mount -o noxattr rpool/fs3 # cd /rpool/fs3 # touch file.2 # runat file.2 ls -l total 1 -r--r--r-- 1 root root 156 Jan 11 13:23 SUNWattr_ro -rw-r--r-- 1 root root 472 Jan 11 13:23 SUNWattr_rw # runat file.2 touch attr_1 touch: setting times of `attr_1': Invalid argument On 01/11/11 10:29, Shain Miley wrote:
Hello, I was wondering if there is any way to disable the SUNWattr_ro and SUNWattr_rw file attributes in OpenSolaris. I am receiving some permission denied error messages assocaited with SUNWattr_ro on some files. It has been suggested that there is a way to disable them, or remove them, etc. However I have been unable to find any information about doing so. Example: ad...@server1:/ztank/temp# touch test ad...@server1:/ztank/temp# runat test ls -l total 2 -r--r--r-- 1 root root 84 Jan 11 11:58 SUNWattr_ro -rw-r--r-- 1 root root 408 Jan 11 11:58 SUNWattr_rw Thanks in advance, Shain
_______________________________________________ opensolaris-discuss mailing list opensolaris-discuss@opensolaris.org