I keep a large number of directories and files on a Seagate NAS server, which I access from a Apple laptops running OS 10.5.8 and 10.6.8 variously. The server share has CIFS, FTP, and NFS enabled, and I am the only person who accesses it. I suddenly find that I no longer have write permission for most of the directories and files on the server. Permissions for the directories are shown as
dr-xr-xr-x
or
dr-xr-xr-x@
Both the uid and gid for these directories and files, as well as the explicit user and group names, are the same as those of the user I am logged in as. But when I try to change permissions to 755, permission is always denied. Using chown to reset the owner of the directories and files explicitly has no effect, even when logged in as root.
How can I restore write permissions?
lsandcpfor instance, work just fine. In fact, the last time I tried to deal with this problem (some directory permissions wered---------@), I ended up "solving" it by creating a new directory with correct permissions and copying everything into it from the old directory. But that's a very time-consuming solution and doesn't help me to understand the problem. – brannerchinese Jan 1 '12 at 19:57