Questions tagged [file-permissions]

For questions relating to file read/write permissions, user groups, executable bits etc. Be sure to include a tag for the operating system (Windows or Unix) and tag for operating system version.

For questions relating to file read/write permissions, user groups, executable bits etc.

Related tag:

Filesystem permissions on Wikipedia

3073 questions
1
vote
1 answer

Permissions-error using bash-script to install a library in R

I am running a software called CNV-Seq in a Bash script but, I do not have permission to run the following command: R CMD INSTALL cnv/ The error is * installing to library '/share/apps/r/3.2.2/intel/lib64/R/library' Error: ERROR: no permission to…
kgui
  • 4,015
  • 5
  • 41
  • 53
1
vote
1 answer

How to create evosuite tests which use relative paths for file generation

I generated a test suite with evosuite for a project. Some of the tests relate to reading/writing files and use absolute paths to access them, which results in tests only succeeding if the project is located at the exact same location in the local…
1
vote
1 answer

File permissions from a coders perspective

Are file permissions something which are merely stored on the HDD (or other storage medium) and respected by operating systems. Or does the HDD actively enforce them in some way? I know that if I attempt to access/modify files in any way which…
sam
  • 123
  • 1
  • 11
1
vote
1 answer

macbook can not access apache after edited username

I've edited my computer name in my macbook in sharing and made it Ahmed MacBook Pro Computers on your local network can access your computer at: Ahmed-MacBook-Pro.local and edited my username from Macbook pro to Ahmed.K and now I can not…
Ahmed Karmous
  • 373
  • 2
  • 10
  • 25
1
vote
1 answer

Cron Job File Creation - Created File Permissions

I'm running an hourly cron job for testing. This job runs a python file called "rotateLogs". Cron can't use extensions, so the first line of the file is #!/usr/bin/python. This python file(fileA) then calls another python file(fileB) elsewhere in…
WarSame
  • 870
  • 1
  • 10
  • 24
1
vote
2 answers

How to set default user for mounted folder?

When I put in top.sls this: /var/www: file.directory: - user: {{ pillar['user'] }} - group: www-data - mode: 755 - makedirs: True It creates "/var/www" dir with permissions which are defined and that is ok. So basically chown is:…
iWizard
  • 6,816
  • 19
  • 67
  • 103
1
vote
2 answers

Android M Permission denied after it was granted

I'm getting this error after the permission was allowed and the activity was recreated. I/AppCompatDelegate: The Activity's LayoutInflater already has a Factory installed so we can not install AppCompat's W/EGL_emulation: eglSurfaceAttrib not…
SpyZip
  • 5,511
  • 4
  • 32
  • 53
1
vote
0 answers

Can't save projects. How to change 'read-only' status?

PHPStorm thinks that my main folder, where my projects are, has "read-only" status. It says "could not save project". The way it started was that I used a command line tool, it may have been cygwin(a linux based command line tool), or cmd or windows…
Galivan
  • 4,842
  • 9
  • 44
  • 76
1
vote
2 answers

File Permissions On The iPhone Simulator

Are the permissions for the iphone/ipad simulator different from the device itself? I only ask because I'm experimenting with file I/O, and creating and then writing to my own temporary file fails, but creating and writing to, say, the Desktop on my…
mtrc
  • 1,317
  • 3
  • 16
  • 39
1
vote
1 answer

CS-Cart and UNIX permissions

I am installing CS-Cart software on Apache server and it does not work. I tried to follow instructions, but there is always an error: SERVICE UNAVAILABLE (as shown bellow). Before installation, we have to change permissions to this: Is it right,…
ZPA
  • 97
  • 2
  • 11
1
vote
0 answers

php file is not writable for non excisting file

I have the following code to write to a file. $ics_file = "/var/www/Untis/ICS/$ID.ics"; if (is_writable($ics_file)) { if (!$handle = fopen($ics_file, 'c')) { echo "Cannot open file ($ics_file)\n\n"; exit; } if (fwrite($handle,…
Dr. Banana
  • 435
  • 1
  • 7
  • 16
1
vote
1 answer

Web service needs to check NTFS file permissions for user

We have an asp.net mvc web service that needs to be able to check NTFS permissions on network folders, and to return a list of only those folders and files to the UI that the user is authorized to view. We can't use impersonation for this. How…
steveo
  • 365
  • 1
  • 12
1
vote
4 answers

Glyphicons rendering as empty box in one environment, but not the other

I've read quite a few threads at SO on this issue. But none covers my situation. My bootstrap glyphicons show up as a vertical rectangle on production only. They show up fine on dev and staging servers. Exact same copy of files. This is my HTML…
Stack0verflow
  • 1,148
  • 4
  • 18
  • 42
1
vote
2 answers

Directory/File Permission Issue

I wrote code to set permission of the folder. Function I developed was public void SetPermission(string user,FileSystemRights rights) { DirectoryInfo dInfo = new DirectoryInfo(folderPath); DirectorySecurity oDirectorySecurity = new…
Kartik M
  • 67
  • 2
  • 9
1
vote
4 answers

Laravel 5.1 installing from composer issue - Permission Denied

I can install laravel 5.0 with composer without any issue. But when I try to install laravel 5.1, I get permission denied. This is what I get if I run: composer create-project laravel/laravel MyProjectName Installing laravel/laravel (v5.1.4) -…
Saiyan Prince
  • 3,930
  • 4
  • 28
  • 71