Operating System - HP-UX
1844087 Members
2794 Online
110227 Solutions
New Discussion

error: acl failed for the file "README", Operation not supported

 
SOLVED
Go to solution
Manuales
Super Advisor

error: acl failed for the file "README", Operation not supported

Hi ...

why does appear the following error?


unix:ftpuser 215> getacl README
acl failed for file "README", Operation not supported

unix server has installed JFS and uses vxFS:

unix:root> swlist -l fileset JFS
# Initializing...
# Contacting target "unix"...
#
# Target: unix:/
#

# JFS B.11.11 The Base VxFS File System
JFS.JFS-ENG-A-MAN B.11.11 JFS-ENG-A-MAN
JFS.JFS-JPN-E-MAN B.11.11 JFS-JPN-E-MAN
JFS.JFS-JPN-S-MAN B.11.11 JFS-JPN-S-MAN
JFS.VXFS-BASE-KRN B.11.11 The Base VxFS File System Kernel files
JFS.VXFS-BASE-RUN B.11.11 VXFS-BASE-RUN
JFS.VXFS-PRG B.11.11 Subproduct contains the necessary header files for pr
4 REPLIES 4
Manuales
Super Advisor

Re: error: acl failed for the file "README", Operation not supported


hi,
could be because file is located into a folder as NFS file system?

can i create an ACL with a file located under NFS its file system?


Manuales.
A. Clay Stephenson
Acclaimed Contributor
Solution

Re: error: acl failed for the file "README", Operation not supported

ACL's only work for hfs and newer vxfs filesystems. There is no ACL support for an NFS mounted filesystem. You could set ACL's locaaly but that would still be invisible to NFS.
If it ain't broke, I can fix that.
Manuales
Super Advisor

Re: error: acl failed for the file "README", Operation not supported

Clay ...

how can i do for following ..
i have a directory .. and there are created files with different names ..

i'd like create an acl to the directory indicating that every user different to the owner of the files, can delete file ...

could bee follows? :

directory is named: dir_files
onwer of the directory: user_a
user to use files into dir_files folder: user_b


setacl -m u:user_b:rwx dir_files

last one is correct?

i already did las one . and i created a file into dir_files and i do not see permissions for user_b in this file:

unix 247> getacl user.txt
# file: user.txt
# owner: user_a
# group: group_a
user::rw-
group::rw-
class:rw-
other:r--

how can i do for automatical every file has the permissions only manipulating dir_files folder?

Thanks ..

A. Clay Stephenson
Acclaimed Contributor

Re: error: acl failed for the file "README", Operation not supported

The permission to delete a file has nothing to do with the owner of a file; it is controlled solely by the ability to write to the directory that houses the file. If you set the permissions on a directory to 777 then anyone can delete any file in that directory --- this is normally a bad thing. You could also set the directory mode to 770 and then the owner of the directory or those in the same group as the directory could delete any file. Again, the ability to delete a file has absolutely nothing to do with who owns the file. It's pointless to talk about ACL's since you are dealing with NFS mounted files.
If it ain't broke, I can fix that.