Re: access privileges.


Subject: Re: access privileges.
From: andrew morgan (morgan@orst.edu)
Date: Mon Oct 30 2000 - 16:46:49 EST


On Mon, 30 Oct 2000, Ajay Sharma wrote:

> Now the users accessing this share are all in the "staff" group, they
> can log in fine and read the files fine. But when they open up a
> photoshop file, hit "save" it gives them:
>
> could not save "[filename]" because you do not have the necessary access
> privileges.
>
> But if they save the PSD to their desktop, they can drag 'n' drop it
> into the folder without any problems?
>
> I chmod'ed all the folders to 2775 so they look like:
>
> [root@prodigy CLRWTR]# ls -la
> total 16
> drwxrwsr-x 4 root staff 4096 Oct 18 16:16 .
> drwxrwsr-x 11 root staff 4096 Oct 23 17:25 ..
> drwxrwsr-x 2 root staff 4096 Oct 20 21:49 .AppleDouble
> drwxrwsr-x 3 root staff 4096 Oct 19 14:20 Jewelers
> [root@prodigy CLRWTR]# cd Jewelers/
> [root@prodigy Jewelers]# ls -la
> total 712
> drwxrwsr-x 3 root staff 4096 Oct 19 14:20 .
> drwxrwsr-x 4 root staff 4096 Oct 18 16:16 ..
> drwxrwsr-x 2 root staff 4096 Oct 20 21:49 .AppleDouble
> -rwxrwsr-x 1 root staff 710404 Oct 19 14:15050 tam_artisangall_HIGH
>
> The file that they are trying to overwrite is 'tam_artisangall_HIGH' and
> it doesn't work. I looked in /var/log/messages and the only thing I saw
> was:
>
> Oct 30 11:02:23 prodigy afpd[28931]: afp_openfork: ad_open: Permission
> denied

Have you looked at the permissions on the corresponding file in the
.AppleDouble directory?

Also, you probably don't want the setgid bit for files, just directories.
You can fix this by going to the top-level directory you want to make the
change and running:

find ./ -type f | xargs chmod 770

        Andy



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