Permissions icons not showing up properly


Subject: Permissions icons not showing up properly
From: Kevin M. Myer (kevin_myer@iu13.k12.pa.us)
Date: Thu Dec 28 2000 - 11:20:53 EST


Hello,

I am using netatalk 1.5pre3 on Red Hat Linux 6.2 on x86
hardware. I have a Departments folder setup with 7 department folders
underneath the main folder. Each sub-folder is setup so that only members
of that department can access it, which is done via groups. The top-level
folder is read-only so that no one can delete the entire department folder
accidently. Now normally when a user logs in, they open the Department
folder. Then what they normally see is a window with a pencil with a line
through it (the read-only icon in the upper left hand corner of the
window). And all the department folder icons have the belt buckle around
them, except for the department they are a member of. That was normal, as
of yesterday.

Yesterday morning, I began moving files from three other servers to this
new server. I attempted to change ownership of the folders from myself to
the proper owner - that didn't work obviously because I was just a normal
user. So I added the -admingroup option to the afpd.conf file and
restarted netatalk. After doing this, I found that I now had full access
to move folders around but I still was getting EPERM denied errors when
trying to change owners on folders. I tried copying permissions to all
enclosed folders which failed as well.

Well, after I did this, I removed the -admingroup option from afpd.conf
and restarted netatalk again. Unfortunately, the windows and folders no
longer indicate read-only access or no access. Instead, the windows are
normal and the folders are normal (i.e. no slashed pencil or belt-buckle).
And instead of getting an access denied error when trying to click on a
folder I don't have permission to, I now get a "The folder XXX cannot be
opened because it cannot be found". strace shows the following:

chdir("test/.") = -1 EACCES (Permission denied)

I'm sure that I've just managed to get a bit set somewhere wrong, perhaps
with my attempt to copy permissions to enclosed folders. I'd really like
to get back to having the buckled icons and the read-only windows, as well
as error messages which accurately reflect whats really going on.

I'd appreciate any feedback relating to the permissions display, as well
as any information regarding the -admingroup option (i.e. why it isn't
giving me administrator rights on the server).

Thanks,

Kevin

-- 
Kevin M. Myer
Systems Administrator
Lancaster-Lebanon Intermediate Unit 13
(717)-560-6140



This archive was generated by hypermail 2b28 : Wed Jan 17 2001 - 14:32:52 EST