The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Operating Systems > SUN Solaris
.
google unix.com



SUN Solaris The Solaris Operating System, usually known simply as Solaris, is a free Unix-based operating system introduced by Sun Microsystems .

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Change owner. senthil_is Shell Programming and Scripting 3 05-24-2008 05:52 AM
change owner panknil Shell Programming and Scripting 7 11-06-2007 05:07 PM
change owner of a file CBarraford UNIX for Dummies Questions & Answers 3 03-03-2007 11:37 PM
How to change the owner of the file? redlotus72 UNIX for Dummies Questions & Answers 1 09-22-2006 12:31 AM
Change owner venkyA UNIX for Dummies Questions & Answers 16 04-29-2005 05:50 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 10-01-2008
DukeNuke2's Avatar
DukeNuke2 DukeNuke2 is offline Forum Staff  
Soulman
  
 

Join Date: Jul 2006
Location: Germany, Berlin
Posts: 2,979
change permissons and owner for /tmp (swapfs)

Hi all,
i've an Solaris 10 installation. The owner and permissions for /tmp is:
Code:
# ls -l /tmp
# rwxr-xr-x root root /tmp
They should be (i've looked at a clean installation):
Code:
# rwxrwxrwt root sys /tmp
I've tried to change the permissons after booting from cd and mounting the root filesystem to /a. But after the reboot the new permissons are lost... Anyone knows how to solve this?

tia,
DN2
  #2 (permalink)  
Old 10-01-2008
Perderabo's Avatar
Perderabo Perderabo is online now Forum Staff  
Unix Daemon
  
 

Join Date: Aug 2001
Location: Ashburn, Virginia
Posts: 9,119
I just brought a box up into single user mode (boot -s from ok prompt). The permissions on /tmp were what you wanted. So I did a
umount /tmp
chgro uucp /tmp
init 0
and came back up into single user mode. Now /tmp had a group of uucp. It seems to inherit the settings from the mount point and you must have fumbled somehow. That boot from cd should have worked. What did you do to after changing /a/tmp?
  #3 (permalink)  
Old 10-01-2008
DukeNuke2's Avatar
DukeNuke2 DukeNuke2 is offline Forum Staff  
Soulman
  
 

Join Date: Jul 2006
Location: Germany, Berlin
Posts: 2,979
after changing /a/tmp i did a "init 6" and bootet from the disk where i've changed the permissions... from my understanding the changes realy should have worked... but they didn't. any ideas are welcome .
  #4 (permalink)  
Old 10-01-2008
Perderabo's Avatar
Perderabo Perderabo is online now Forum Staff  
Unix Daemon
  
 

Join Date: Aug 2001
Location: Ashburn, Virginia
Posts: 9,119
umount /a prior to the init 6
  #5 (permalink)  
Old 10-01-2008
DukeNuke2's Avatar
DukeNuke2 DukeNuke2 is offline Forum Staff  
Soulman
  
 

Join Date: Jul 2006
Location: Germany, Berlin
Posts: 2,979
i'll test it tomorrow... thnx.
  #6 (permalink)  
Old 10-03-2008
incredible incredible is offline Forum Advisor  
Registered User
  
 

Join Date: May 2008
Location: s'pore
Posts: 2,088
Why did not you try chmod 777 /tmp and then chmod +t /tmp ?
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 02:38 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0