Page 1 of 1

Spartacus vs. permissions (Again. Doh.)

Posted: Thu Feb 19, 2009 9:03 pm
by yellowled
Apparently, I can only set the owner and permissions, but not the group for files and directories downloaded by the Spartacus plugin. Then again, I also want to be able to access the plugins/ directory and it's content via FTP.

Is it okay to set the permissions for directories in or below plugins/ to 0777 or does that impose some kind of security risk?

YL

Re: Spartacus vs. permissions (Again. Doh.)

Posted: Fri Feb 20, 2009 12:34 pm
by garvinhicking
Hi!

It hink you should be able to use "user.group" in the chown mask.
Is it okay to set the permissions for directories in or below plugins/ to 0777 or does that impose some kind of security risk?
That actually depends on who else is using your server and how exactly it's setup. It's not really safe, but it's usually the most convenient way.

Regards,
Garvin

Re: Spartacus vs. permissions (Again. Doh.)

Posted: Fri Feb 20, 2009 1:37 pm
by yellowled
garvinhicking wrote:It hink you should be able to use "user.group" in the chown mask.
Are you sure that's not user:group like on most Linux systems?

YL

Re: Spartacus vs. permissions (Again. Doh.)

Posted: Fri Feb 20, 2009 1:38 pm
by garvinhicking
Hi!

Yeah, the linux chown/chmod command takes those values separated with ".".

Regards,
Garvin

Re: Spartacus vs. permissions (Again. Doh.)

Posted: Fri Feb 20, 2009 1:41 pm
by yellowled
garvinhicking wrote:Yeah, the linux chown/chmod command takes those values separated with ".".
No.

Code: Select all

SYNOPSIS
       chown [OPTION]... [OWNER][:[GROUP]] FILE...
That's "man chown" on my Ubuntu system :)

Anyway, I'm simply gonna try that. Thanks.

YL

Re: Spartacus vs. permissions (Again. Doh.)

Posted: Fri Feb 20, 2009 2:13 pm
by garvinhicking
Hi!
yellowled wrote:
garvinhicking wrote:Yeah, the linux chown/chmod command takes those values separated with ".".
No.
Even though the manpage says so, it works just fine with a "." :-)

Regards,
Garvin

Re: Spartacus vs. permissions (Again. Doh.)

Posted: Fri Feb 20, 2009 3:03 pm
by yellowled
garvinhicking wrote:Even though the manpage says so, it works just fine with a "." :-)
Wow. Linux hacking :-D

Anyway, it doesn't really matter since the combination of my hoster's permission/FTP policy and Spartacus's needs doesn't seem to work well together :?

I'd like to have $WEBSERVER:$FTPUSER plus 0775 to use it properly, but apparently, that's just not possible. Well, maybe I need to re-think my ftp usage ...

YL