Advanced search  

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Pages: [1]   Go Down

Author Topic: batch add permisions  (Read 5294 times)

0 Members and 1 Guest are viewing this topic.

luma

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 28
batch add permisions
« on: June 16, 2005, 02:13:17 am »

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
Logged

Tranz

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Female
  • Posts: 6149
Re: batch add permisions
« Reply #1 on: June 16, 2005, 04:09:18 am »

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

luma

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 28
Re: batch add permisions
« Reply #2 on: June 16, 2005, 05:57:17 am »

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

Thanks

Luma
Logged

Tranz

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Female
  • Posts: 6149
Re: batch add permisions
« Reply #3 on: June 16, 2005, 06:08:17 am »

How about changing it to 777?
Logged

luma

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 28
Re: batch add permisions
« Reply #4 on: June 16, 2005, 03:40:44 pm »

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
Logged

luma

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 28
Re: batch add permisions
« Reply #5 on: June 18, 2005, 04:37:32 pm »

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
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: batch add permisions
« Reply #6 on: July 01, 2005, 12:03:37 am »

users allowed to ftp-upload and chmod? CHMOD 755 on a Windows server? What are you talking about?
Logged
Pages: [1]   Go Up
 

Page created in 0.02 seconds with 22 queries.