tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* Strange softlink permissions problem in Tru64 5.1B
@ 2005-04-05 17:04 gmb-mcg-it-unix-admin
  0 siblings, 0 replies; only message in thread
From: gmb-mcg-it-unix-admin @ 2005-04-05 17:04 UTC (permalink / raw)


Hello,

I need some help in trying to determine whether a softlink permissions problem is either a bug or part of normal UNIX security. This is on a Tru64 5.1B machine.

In summary, various userids including root received 'permission denied' when cd'ing into a softlink defined in /tmp as shown-
	
	lrwxrwxrwx   1 zuserid1    system        12 Apr  1 11:21 zzzzdir -> /tmp/zzzz	<=== Softlink in /tmp
	drwxrwxrwx  2 zuserid2   system      8192 Apr  1 11:21 zzzz			<== Actual directory in /tmp

		# id
		uid=0(root) gid=1(daemon) groups=0(system)
		# cd zzzzdir
		ksh: zzzzdir: permission denied
		# cd zzzz
		#

The zzzz directory is owned by user zuserid2 and has universal read/write/execute permissions, so any userid can cd directly into /tmp/zzzz with no problem. The softlink is owned by zuserid1 which normally should not be an issue. The problem was circumvented by deleting the zzzzdir softlink and recreating it under root- 

	lrwxrwxrwx   1 root     system        12 Apr  4 11:28 zzzzdir -> /tmp/zzzz

Any idea why the softlink must be owned by root to circumvent the problem? 

Sincerely,

Marc Brandon
Systems Engineer
Cardinal Health
Waukegan, IL




^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-04-05 17:04 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-04-05 17:04 Strange softlink permissions problem in Tru64 5.1B gmb-mcg-it-unix-admin

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