Spartacus vs. permissions (Again. Doh.)

Creating and modifying plugins.
Post Reply
yellowled
Regular
Posts: 7111
Joined: Fri Jan 13, 2006 11:46 am
Location: Eutin, Germany
Contact:

Spartacus vs. permissions (Again. Doh.)

Post 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
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

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

Post 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
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
yellowled
Regular
Posts: 7111
Joined: Fri Jan 13, 2006 11:46 am
Location: Eutin, Germany
Contact:

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

Post 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
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

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

Post by garvinhicking »

Hi!

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

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
yellowled
Regular
Posts: 7111
Joined: Fri Jan 13, 2006 11:46 am
Location: Eutin, Germany
Contact:

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

Post 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
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

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

Post 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
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
yellowled
Regular
Posts: 7111
Joined: Fri Jan 13, 2006 11:46 am
Location: Eutin, Germany
Contact:

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

Post 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
Post Reply