1
aamjad2001
Need help with MyalbumP module
  • 2007/3/27 17:24

  • aamjad2001

  • Just popping in

  • Posts: 64

  • Since: 2006/6/20


hi everyone
i hope you would be enjoying Xooping

my querry is that when ever any user submit a picture to myalbum mudule and admin aproves it the picture is alright but the thumbnail doesnot appears because the permission of the thumbnail is set to 600 automatically so the admin than have to login to cpanel or some ftp client to chnge the permission from 600 to 644.

second thing is that while batch uploading that problem occurs but here the affectees are both the image and thumbnails.
so in this case permissions of both need to be changed

now i am sick of changing permission for each pic file

does anyone know how to resolve this problem??????

2
JMorris
Re: Need help with MyalbumP module
  • 2007/3/27 18:26

  • JMorris

  • XOOPS is my life!

  • Posts: 2722

  • Since: 2004/4/11


If you have shell access, you can set the default filesystem permissions for everything in your web root with the umask command.

# user@host> umask 0022


This will tell the OS that every new folder should be chmod 755 and every new file 644.

If you do not have shell access or are blocked from using the umask command, you can ask your hosting provider to do this for you.
Insanity can be defined as "doing the same thing over and over and expecting different results."

Stupidity is not a crime. Therefore, you are free to go.

Login

Who's Online

322 user(s) are online (254 user(s) are browsing Support Forums)


Members: 0


Guests: 322


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits