LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris
User Name
Password
Solaris / OpenSolaris This forum is for the discussion of Solaris, OpenSolaris, OpenIndiana, and illumos.
General Sun, SunOS and Sparc related questions also go here. Any Solaris fork or distribution is welcome.

Notices


Reply
  Search this Thread
Old 11-19-2006, 08:38 PM   #1
rust8y
Member
 
Registered: May 2006
Posts: 100

Rep: Reputation: 15
Change permissions


How do I change permissions on /data/log so oracle OS user can write/create folders there?


/data/usr/jan> cd /data/log
/data/log> ls -la
total 34
drwxr-xr-x 3 root root 512 Nov 20 10:37 .
drwxrwxrwx 10 jan oracle 512 Nov 20 10:17 ..
drwx------ 2 root root 8192 Nov 20 10:37 lost+found
 
Old 11-19-2006, 09:45 PM   #2
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
Only root can create folders/files here.

Try "chgrp oracle /data/log"
 
Old 11-19-2006, 09:53 PM   #3
rust8y
Member
 
Registered: May 2006
Posts: 100

Original Poster
Rep: Reputation: 15
I'm getting permission denied when I try to mkdir or create a file when logged in as user oracle.
 
Old 11-20-2006, 01:29 AM   #4
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
Correct, I thought your were logged in as "jan".
You need to add write permission to the (oracle) group: "chmod g+w /data/log".
 
Old 11-20-2006, 05:10 AM   #5
rust8y
Member
 
Registered: May 2006
Posts: 100

Original Poster
Rep: Reputation: 15
Thanks for your help.
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
permissions change on reboot baldwonder Slackware 3 08-30-2005 04:38 AM
How do I change directory permissions ? cwolf78 Linux - Software 3 05-05-2005 12:15 PM
How to change permissions? SonoranFun Linux - Newbie 4 11-02-2004 10:10 AM
Can't change permissions LitlJay Linux - Software 9 05-21-2004 01:41 PM
How Can I Change Permissions monkeymartin Linux - General 1 03-25-2003 12:47 PM

LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris

All times are GMT -5. The time now is 06:32 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration