Current time: 04-25-2024, 03:07 PM Hello There, Guest! (LoginRegister)


Post Reply 
script created file perrmisions
Author Message
Basas Offline
Newbie
*

Posts: 6
Joined: Jun 2007
Reputation: 0
Post: #1
script created file perrmisions
Hi there,
i have question, how to solve proplem with permissions?
i have ispcp and apache is running on www-data user, created virtual user e.g. vu2005 he is uploading index.php file with permission 644 to his directory. user come from web and index.php file is creating example image.jpg with www-data owner and with 644 permission, so user logged in ftp cant delete that file. any suggesnions how to fix this issue?
10-12-2007 10:59 PM
Find all posts by this user Quote this message in a reply
rbtux Offline
Moderator
*****
Moderators

Posts: 1,847
Joined: Feb 2007
Reputation: 33
Post: #2
RE: script created file perrmisions
when php is creating that file, It should be owned by the vu user...

How is you configuration?
10-12-2007 11:03 PM
Visit this user's website Find all posts by this user Quote this message in a reply
BeNe Offline
Moderator
*****
Moderators

Posts: 5,899
Joined: Jan 2007
Reputation: 68
Post: #3
RE: script created file perrmisions
Breaki did some changes about the rights and permissions in r844
-> http://www.isp-control.net/ispcp/changeset/844
But i´m not sure if this is also the soultion for your Problem

Greez BeNe
10-12-2007 11:11 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Basas Offline
Newbie
*

Posts: 6
Joined: Jun 2007
Reputation: 0
Post: #4
RE: script created file perrmisions
default config of iscp
10-12-2007 11:14 PM
Find all posts by this user Quote this message in a reply
rbtux Offline
Moderator
*****
Moderators

Posts: 1,847
Joined: Feb 2007
Reputation: 33
Post: #5
RE: script created file perrmisions
do i get this wrong?

we do have a fcgi wraper with suexec?

The php script runs as user vuxxxx and therefore the generated stuff also belongs to this user, does it not?
10-12-2007 11:14 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


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