From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fa528,c44de2985d573767 X-Google-Attributes: gidfa528,public From: Robert Mulley Subject: Re: Link and Permission problem Date: 2000/08/30 Message-ID: <39AD252B.863F7A5E@gnsconsulting.com.au>#1/1 X-Deja-AN: 664358040 Content-Transfer-Encoding: 7bit References: <8nrlq3$nka$1@nnrp1.deja.com> <39AC22FD.97DC27F6@phonax.com> <8oj5jm$dgs$1@nnrp1.deja.com> X-Accept-Language: en Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@mailint03.im.hou.compaq.com X-Trace: mailint03.im.hou.compaq.com 967648552 6469 16.37.50.195 (30 Aug 2000 15:15:52 GMT) Organization: Compaq Computer Corp. Mime-Version: 1.0 NNTP-Posting-Date: 30 Aug 2000 15:15:52 GMT Newsgroups: comp.unix.tru64 The problem you have here is with the -x- To quote the manpage x Execute permission for files, search permission for directories. You have to have execute permission on a directory for you to be able to search the directory. You'll see that whilst the user adr (in group users) has the ability to right and read files when give an absolute pathname e.g. vi /usr/users/src/source.c (will work), they can't search (ls is a form of search) the directory. You need to change permission to 775. or 774 if you don't want search access for everyone. Robert Mulley Unix Admin Adriano Prado wrote: > Ok. Look at another example (problem): > > I'm in account adr (group users) and I cannot see the contents of > account src (account users): > > /usr/users/adr> ls /usr/users/src > /usr/users/src/test.txt: No permission > total 0 > > But the permissions are: > > drwxr--r-- 27 adr users ... adr > drwxrw-rw- 5 src users ... src > > Into src test.txt has rw permission to the group (-rw-rw----). > But, even with full access (-rw-rw-rw-) it still don't work!!! > > So, why can't I see src contents?!? > > In article <39AC22FD.97DC27F6@phonax.com>, > Raymond Doetjes wrote: > > I don't see a link I just see 2 dirs!!! I don't see the owner info > either > > which can be very important asswell. > > > > Raymond > > > > Adriano Prado wrote: > > > > > Hi all! > > > > > > I've been quite confused about Unix permissions... I'm using Unix > > > Digital 4.0d. > > > > > > I want to link a directory from an account to another, so I did > > > ln -s /home/temip/out /home/traf/temip_out > > > > > > that is, I'd like to see /home/temip/out as temip_out in the current > > > account (traf), that has the same 'group' as temip. > > > > > > Well, I did the same in another machine and that worked, but in my > > > station, it didn't. In fact, it's created the directory temip_out, > but > > > when I do "cd temip_out" and error is displayed: > > > ksh[3]: temip_out: permission denied > > > > > > /home/temip has permission drwxr-xr-x > > > /home/temip/out, drwxr-xr-x > > > > > > I tried to change both of these directories to 777 but it didn't > work > > > too. > > > > > > Thanx! > > > > > > Adriano Prado > > > prado@gmx.net > > > > > > Sent via Deja.com http://www.deja.com/ > > > Before you buy. > > > > > > -- > _______________________ > Adriano Prado > prado@gmx.net > > Sent via Deja.com http://www.deja.com/ > Before you buy.