Usenet comp.unix.tru64 (2000-2013)
 help / color / mirror / Atom feed
* Link and Permission problem
@ 2000-08-21  4:00 Adriano Prado
  2000-08-29  4:00 ` Raymond Doetjes
  0 siblings, 1 reply; 6+ messages in thread
From: Adriano Prado @ 2000-08-21  4:00 UTC (permalink / raw)




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.



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Link and Permission problem
  2000-08-21  4:00 Link and Permission problem Adriano Prado
@ 2000-08-29  4:00 ` Raymond Doetjes
  2000-08-30  4:00   ` Adriano Prado
  0 siblings, 1 reply; 6+ messages in thread
From: Raymond Doetjes @ 2000-08-29  4:00 UTC (permalink / raw)
  To: Adriano Prado

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.




^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Link and Permission problem
  2000-08-29  4:00 ` Raymond Doetjes
@ 2000-08-30  4:00   ` Adriano Prado
  2000-08-30  4:00     ` Robert Mulley
  0 siblings, 1 reply; 6+ messages in thread
From: Adriano Prado @ 2000-08-30  4:00 UTC (permalink / raw)


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 <raymond.doetjes@phonax.com> 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.



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Link and Permission problem
  2000-08-30  4:00   ` Adriano Prado
@ 2000-08-30  4:00     ` Robert Mulley
  2000-08-30  4:00       ` Adriano Prado
  2000-08-30  4:00       ` Adriano Prado
  0 siblings, 2 replies; 6+ messages in thread
From: Robert Mulley @ 2000-08-30  4:00 UTC (permalink / raw)


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 <raymond.doetjes@phonax.com> 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.




^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Link and Permission problem
  2000-08-30  4:00     ` Robert Mulley
  2000-08-30  4:00       ` Adriano Prado
@ 2000-08-30  4:00       ` Adriano Prado
  1 sibling, 0 replies; 6+ messages in thread
From: Adriano Prado @ 2000-08-30  4:00 UTC (permalink / raw)


Thanks!!! It worked.

In article <39AD252B.863F7A5E@gnsconsulting.com.au>,
  Robert Mulley <robert@gnsconsulting.com.au> wrote:
> 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 <raymond.doetjes@phonax.com> 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.
>
>

--
_______________________
Adriano Prado
prado@gmx.net


Sent via Deja.com http://www.deja.com/
Before you buy.



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Link and Permission problem
  2000-08-30  4:00     ` Robert Mulley
@ 2000-08-30  4:00       ` Adriano Prado
  2000-08-30  4:00       ` Adriano Prado
  1 sibling, 0 replies; 6+ messages in thread
From: Adriano Prado @ 2000-08-30  4:00 UTC (permalink / raw)


Thanks!!!

In article <39AD252B.863F7A5E@gnsconsulting.com.au>,
  Robert Mulley <robert@gnsconsulting.com.au> wrote:
> 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 <raymond.doetjes@phonax.com> 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.
>
>

--
_______________________
Adriano Prado
prado@gmx.net


Sent via Deja.com http://www.deja.com/
Before you buy.



^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2000-08-30  4:00 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-08-21  4:00 Link and Permission problem Adriano Prado
2000-08-29  4:00 ` Raymond Doetjes
2000-08-30  4:00   ` Adriano Prado
2000-08-30  4:00     ` Robert Mulley
2000-08-30  4:00       ` Adriano Prado
2000-08-30  4:00       ` Adriano Prado

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox