Current time: 05-26-2024, 11:32 AM Hello There, Guest! (LoginRegister)


Post Reply 
Writing CronJobs Web int. It's time!
Author Message
WuChEn Offline
Junior Member
*

Posts: 192
Joined: Feb 2009
Reputation: 2
Post: #40
RE: Writing CronJobs Web int. It's time!
ok, i try again to describ the problem.

the ispcp gui has

user: vu2000
group: www-data

so it runs with rights from vu2000.

user files has

user: vu2001
group: vu2001

cronejob_add and cronejob_edit runs as vu2000 because the gui run as user vu2000.

and vu2000 has no acces to user files.

if i run in console

sudo -u vu2000 perl /var/www/virtual/domain.tld/htdocs/file.pl

Could not open input file: /var/www/virtual/domain.tld/htdocs/file.pl

if i run in console

sudo -u vu2001 perl /var/www/virtual/domain.tld/htdocs/file.pl

it runs.

----

When a user Upload a file it becomes user and group vu2001 or vu2002.

FTP Users can´t change Owner ir Group.

So i must find a way, that the user vu2000 ( ISPCP GUI ) can check files and permission from files with user:group vu2001:vu2001.

I Use ISPCP 1.0.3 and someone has tel me that 1.0.0 have other folder rights than 1.0.3. Sad

Sorry for my bad english, i´m from germany. Big Grin

Greatz WuChEn
11-10-2009 10:34 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Writing CronJobs Web int. It's time! - WuChEn - 11-10-2009 10:34 PM

Forum Jump:


User(s) browsing this thread: 1 Guest(s)