Koozali.org: home of the SME Server
Obsolete Releases => SME Server 9.x => Topic started by: ElFroggio on November 24, 2014, 08:02:29 PM
-
Hi,
When I do:
signal-event ibay-modify sritch.pel
if get: root:shared
[root@ethelbert html]# ls -alF
total 508
drwxrwsr-x 8 apache shared 4096 Nov 24 10:51 ./
drwxr-xr-x 6 root root 4096 Oct 22 08:00 ../
-rw-rw-r-- 1 root shared 3572 Nov 21 14:40 403.html
-rw-rw-r-- 1 root shared 3572 Nov 21 14:40 404.html
-rw-rw-r-- 1 root shared 11899 Nov 21 14:40 about-me.html
-rw-rw-r-- 1 root shared 9986 Nov 21 14:40 archives.html
-rw-rw-r-- 1 root shared 3182 Nov 21 14:40 categories.html
instead of the expected: www:www
When I do:
[root@ethelbert html]# chown -R www:www *
I get:
total 508
drwxrwsr-x 8 apache shared 4096 Nov 24 10:51 ./
drwxr-xr-x 6 root root 4096 Oct 22 08:00 ../
-rw-rw-r-- 1 apache www 3572 Nov 21 14:40 403.html
-rw-rw-r-- 1 apache www 3572 Nov 21 14:40 404.html
-rw-rw-r-- 1 apache www 11899 Nov 21 14:40 about-me.html
-rw-rw-r-- 1 apache www 9986 Nov 21 14:40 archives.html
-rw-rw-r-- 1 apache www 3182 Nov 21 14:40 categories.html
Am I doing something wrong? or do I have a wrong understanding?
Thanks
Syv
-
Why would you expect files to belongs to www:www ? www is a member of the shared group, so, it has access to it. Regarding apache vs www, they are the same on SME (same uid and gid)
-
Why would you expect files to belongs to www:www ? www is a member of the shared group, so, it has access to it. Regarding apache vs www, they are the same on SME (same uid and gid)
Thanks,
Because everywhere "they" including the contribs mentions that the ibay should belong to www:www.
Now the question is why is ibay-modify not putting on the "proper" user:group?
Thanks
Syv
-
Because everywhere "they" including the contribs mentions that the ibay should belong to www:www.
Where have you seen this info ?
Now the question is why is ibay-modify not putting on the "proper" user:group?
The ibay-modify is setting the proper user:group (could be confirmed if you look at db accounts show sritch.pel which will show you the group owning the ibay and the permission you've set through the server-manager).
What are you trying to fix ? What isn't working ?
-
What are you trying to fix ? What isn't working ?
I'm not trying to fix, just trying to understand. I made myself some scripts but I was just wondering.
Thanks
Syv
-
ElFroggio
You should learn or understand SME server BEFORE making unnecessary & inappropriate changes to your system.
-
Because everywhere "they" including the contribs mentions that the ibay should belong to www:www.
I don't know who "they" is, but you don't want the 'www' user to be able to modify those files and directories. The user 'www' just needs to read those files in order to send them to whoever is browsing them.