Jump to content


Auto Change Permission

  • Please log in to reply
1 reply to this topic

#1 mssakib

  • Members
  • PipPipPip
  • Advanced Member
  • 66 posts

Posted 28 December 2012 - 09:09 PM

I use Ubuntu 12

I have a folder named 'Collection'. A script will auto create some folders and files in the Collection folder .

Is there any way that is all files and folders created by the script inside 'Collection' folder will have 777 value as permission. The collection folder also has 777 value as permission.

thx in advance :)

#2 Christian F.

Christian F.
  • Staff Alumni
  • Advanced Member
  • 3,106 posts
  • LocationNorway

Posted 28 December 2012 - 09:41 PM

Yes, by setting the umask or manually chmodding them.
However, the question is why do you think you need to do this for? If you tell us what you're going to do which makes you think this is necessary, then I'm sure we can come up with a better solution for you. ;)
Keeping it simple.

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users