jimblumberg's Profile User Rating: *****

Reputation: 4018 Guru
Group:
Mentors
Active Posts:
13,086 (7.66 per day)
Joined:
25-December 09
Profile Views:
66,212
Last Active:
User is offline Today, 04:44 AM
Currently:
Offline

Previous Fields

Country:
US
OS Preference:
Linux
Favorite Browser:
FireFox
Favorite Processor:
Who Cares
Favorite Gaming Platform:
Who Cares
Your Car:
Who Cares
Dream Kudos:
50
Expert In:
C/C++

Latest Visitors

Icon   jimblumberg has not set their status

Posts I've Made

  1. In Topic: Change access to the folder on file system

    Posted 28 Aug 2014

    But an application never owns anything, a user owns the folders and the files, and even the application. An application may be associated with a file type, or even perhaps a folder but the application never owns anything.

    Jim
  2. In Topic: Change access to the folder on file system

    Posted 28 Aug 2014

    Quote

    When I create a new folder within an app that app should be calling the OS to do that job and it should only be able to do it if the user has permission.

    That is correct, no matter what application you use the operating system does actually control reading and writing to the file system. One of the primary jobs of the operating system is controlling resources whether that resource is memory, input/output devices, or disc resources.

    Quote

    must be an attempt at getting around the OS.

    Probably, but that is a totally different issue than what we have been talking about.

    The file system/operating systems on Unix/Linux/Mac operating systems do place limits as to the operations users are allowed to preform. But these limitation are per-user limitations, not application limitations. A user using with limitations on file access can't access files no matter what application they use, unless they somehow gain elevated privileges.

    Until relatively recently Windows was a different matter, administrator privileges were the norm, and file system limitations made lack of security a very real problem.


    Jim
  3. In Topic: Change access to the folder on file system

    Posted 28 Aug 2014

    Why not? There are many times you will need to organize your projects, this can involve things like creating, moving, deleting both files and folders. Without the ability to do this management at the application level makes organization difficult if not impossible. Even a decent word processor should allow you to organize the files and folders you create in the application to your desires. Remember the file system on a computer is really modeled on the age old paper filing system that uses a bunch of physical folders stored in a physical file cabinet.


    Jim
  4. In Topic: how to make multiple subroutine and return multiple arrays?

    Posted 28 Aug 2014

    My first suggestion is to stop using all those global variables. Learn to either use std::vector, new/delete or in this case static variables defined in main().

    Jim
  5. In Topic: Change access to the folder on file system

    Posted 28 Aug 2014

    Quote

    Maybe I'm missing something,

    What about OSX Finder? Surely there are file management tools available that will allow you to modify the file system, otherwise, IMO, the operating system would soon become useless.


    Jim

My Information

Member Title:
Age:
Age Unknown
Birthday:
December 6
Gender:

Contact Information

E-mail:
Private

Comments

Page 1 of 1
  1. Photo

    KnifeTea Icon

    11 May 2014 - 05:55
    thanks for the help Jim!
  2. Photo

    tarmizi_adam2005 Icon

    04 Dec 2013 - 07:15
    Just stopping by to say Hello Jim. I've learned quite a few things from your posts in the c/c++ forum.
Page 1 of 1