batch add permisions batch add permisions
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

batch add permisions

Started by luma, June 16, 2005, 02:13:17 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

luma

Hello all,
I have a server running linux that has CPG133. I have 10 users that are admins on the site they each have an FTP account in there home directories they have a symbolic link to the batchadd section of the FTP. this all works great, the problem is when the yuse FTP they have to set persmions on there newly created folder in batchadd to 777 from 755 or else coppermine can't write to the folder.

what solutions have you used for this?
I was thiking a script that runs each minute via cron to turn the permision into 777 but I figured I would ask first

redhat enterprise advanced server 3.0 is the OS

thank you

Luma

Tranz

In Config, what do you specify for the default permissions?

luma

well in CPG config I have the defaults,
direcotires is 755 and files is 644

Thanks

Luma

Tranz

How about changing it to 777?

luma

actualy sorry, the test server on unix is set to 777 for dir and 666 for files,
the 755 is a production server that is running just fine (but on windows)

when I create a folder on the Test server its chmoded to 755 (automaticly)

thanks

luma

Any Ideas?

I am running out of ideas,
only thing I can think of is run a cron job that will run a script to chmod -R the batchadd folder.

there must be an other way?  I could get each user to just use FTP chmod to change it but I rather not do that as its extra work and some of them would get rather confused at this.

I have tried changing the permisions inside the config file and no go.

I don't want to chagne the actual VSFTPD config etiher as then all folders created no matter where would end up 777 and that is not good.

thank you very much for the ideas

Luma

Joachim Müller

users allowed to ftp-upload and chmod? CHMOD 755 on a Windows server? What are you talking about?