Solaris / OpenSolarisThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have 2 solaris: 9 and 10.
I noticed that in Solaris 9, you get get the owner's group when you do ls -l. Is is possible to have it appear?
To be clear, under solaris 9, I have:
Code:
drwxr-s--- 10 bob 512 Apr 30 2000 Projects
under Solaris 10, I have:
Code:
drwxr-s--- 10 bob http 512 Apr 30 2000 Projects
My Problem is that I just did a rsync between the 2 solaris. This directory "Projects" is on apache. When I try to read the files in the directory Projects (that has setuid permissions as you can see) from internet, I get the message "You don't have permission to access /Projects/ on this server." But the same files are readable on the first server.
So I guess that the problem has to do with the group-ID.
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789
Rep:
Two comments:
- The group problem your were complaining of doesn't show up.
- Your Solaris 10 installation is broken. /etc/hosts has to be a symbolic link.
Excellent! Thanks for your help, I can see a bit more clearly:
Code:
type ls
ls is hashed (/usr/ucb/ls)
on Solaris 10, I get
Code:
type ls
ls is hashed (/usr/bin/ls)
Is it the explanation?
when I do
Quote:
/usr/bin/ls -l
or
Quote:
/bin/ls -l
then I get
Quote:
drwxr-s--- 10 bob http 512 Apr 30 2000 Projects
Great! I guess I just have to change the alias of ls?
So the rsync respected the permissions and the group http is actually correct. I guess the question why the setgid doesn't work belongs to another forum.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.