V4RB - vServer Begin again
erne
ernestogiannotta at tiscalinet.it
Tue Sep 21 11:17:01 CDT 2004
on 21-09-2004 10:40, Ruslan Zasukhin at sunshine at public.kherson.ua wrote:
>> Hi Ruslan,
>>
>> on 21-09-2004 6:22, Ruslan Zasukhin at sunshine at public.kherson.ua wrote:
>>
>>>> reinstalled vServer
>>>> it creates masterDb with this privileges:
>>>>
>>>> -rw-r--r-- 1 root unknown 951296 20 Sep 23:20 master.vdb
>>>>
>>>> run the Single Table example and created new DB
>>>> it has same privileges as Master:
>>>>
>>>> -rw-r--r-- 1 root unknown 62464 20 Sep 23:45 my database1
>>>> -rw-r--r-- 1 root unknown 99328 20 Sep 23:45 my database1.blb
>>>> -rw-r--r-- 1 root unknown 525312 20 Sep 23:45 my database1.dat
>>>> -rw-r--r-- 1 root unknown 197632 20 Sep 23:45 my database1.ind
>>>
>>> But what privileges should be on your opinion ?
>>>
>>
>> I have no opinion here... just asking
>> but now that you ask, yes I think these are correct
>> since the vServer is running as root process
>> all files it creates are owned by root (system)
>>
>> of course this means that if you want to start server from terminal
>> you must be logged as root or use sudo keyword
>
> I think I am able run Vserver from terminal without switching to root.
>
you can do that only if masterdb and other registered dbs are owned by user
or you assign them r/w privileges for all users/groups i think
but as I see, vServer is quite greedy on assigning privileges right now
i.e. files it creates will be owned by owner of the process it is running in
and read only to any other
Cool Runnings,
Erne.
--
| e r | Ernesto Giannotta
| n e | Musical Box - a media store
More information about the Valentina
mailing list