LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 06-30-2012, 03:26 PM   #1
Bob Fletcher
Member
 
Registered: Nov 2008
Location: Hinckley UK
Distribution: Manjaro Cinnamon
Posts: 140

Rep: Reputation: 1
Permissions a Question of Math


Can someone please explain in a simple way this conundrum.
vsftpd in the parameter local_mask used a 3 or 4 digit number that sets the file permissions. The hight the file permission is eg. 0010 gives me file permission of 666 what is the calculation behind this and how do I work it out such as wanting files to have 777.

Robert...
 
Old 06-30-2012, 05:28 PM   #2
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
This might help:
http://www.cyberciti.biz/tips/unders...lue-usage.html
 
1 members found this post helpful.
Old 07-01-2012, 12:07 AM   #3
Bob Fletcher
Member
 
Registered: Nov 2008
Location: Hinckley UK
Distribution: Manjaro Cinnamon
Posts: 140

Original Poster
Rep: Reputation: 1
Quote:
Originally Posted by pixellany View Post
Thank you so much for that, what a great article. Everywhere else I read assumed you knew about it.

Once again thank you.

Robert...
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
basic math question tinyTux General 8 08-15-2011 11:28 AM
math trick question xeon123 General 6 03-23-2007 06:54 AM
Help with math question nadroj General 28 01-20-2007 02:00 AM
math/probubility/gambling question true_atlantis Programming 12 10-16-2004 04:21 PM
Math question... counting theory Dark_Helmet General 6 08-30-2004 03:27 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 02:55 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration