Tagged Questions
1
vote
2answers
107 views
A bunch of files have 777 permissions
I have been learning Python and Bash scripting, and I up to now I have given my scripts 777 permissions. Having learned more about how to set permissions, and knowing this is a bad idea, I ran the ...
0
votes
1answer
358 views
Cannot execute binary file on Mac OS X Lion 10.7.5
I want to execute phylocon on a mac OS X lion but after changing the path and making the file executable, I get the error 'cannot execute binary file'. But the steps that I took to running the command ...
1
vote
1answer
93 views
How are default permissions determined (on OS X)?
My (limited) understanding of basic Unix is that any files that are created will be created based on the permissions of the creating user. In particular, the group assigned will be the creating user's ...
1
vote
2answers
42 views
What permissions should I set if I'm the only user?
I'm the only user on a OS X machine and am wondering what the best practice is for setting permissions on my sensitive files. Specifically, are there reasons to prefer one of the following
-rw------- ...
2
votes
1answer
162 views
how to remove quarantine from file permissions in os x
I downloaded a .pem file and my Mac OS X (10.8.2) added an @ sign at the end of the file permissions. This is causing file permission issues. I can't seem to remove the quarantine flag. I even tried ...
1
vote
1answer
254 views
List all chflags file flags?
Is there a way to see a file's flags, such as hidden, schg, etc? I've got an rwxrwxrwx file that I can't edit, and I think a flag might be responsible.
2
votes
1answer
386 views
Permissions corrupted?
A few weeks ago, I installed Linux Mint on a USB flash drive. I used it to copy the contents of my HFS+ external hard drive to my Windows drive on my desktop. Then, I formatted the external drive to ...
1
vote
1answer
573 views
How to fix this mysql permission problem?
I'm trying like mad to get rails dbconsole to work (Rails 3.2.6, if that helps). The problem is that when I run the command, I get:
gems/railties-3.2.6/lib/rails/commands/dbconsole.rb:81:in `exec': ...
0
votes
1answer
322 views
OSX : rmdir “permission denied” but directory removed
This is a question from a newbie trying to learn UNIX commands.
I was trying to test the rmdir command by removing a test directory located in my Downloads directory. I have read and write rights on ...
2
votes
1answer
648 views
How do I make all current and future files in a directory readable by a certain group/user?
I have a "Drop Box" directory for students to submit assignments. Its permissions are set to "drwx-wx---" where all of the students belong to the group. This lets them write to but not read from the ...
3
votes
3answers
701 views
In Mac OS X Snow Leopard, how can one file's permissions be matched to another?
I need to make the permissions of a file exactly match the permissions of another file in OS X 10.6.
I don't see 'getfacl' or 'setfacl' as suggested in some other posts for Linux. And, it doesn't ...
1
vote
2answers
77 views
How can I install programming tools in the root directory so that they can be used by non-admin users?
I'm running OS X and for security reasons my main account does not have admin privileges. How can I install development tools in the root directory so that they can be used by all users? If this can't ...
3
votes
1answer
142 views
Restricting access to files on an external drive
I was wondering how to restrict access to a specific drive in Unix on the Mac. I was thinking to do this in Terminal where I create a file like this mkfile 6k secure_access. And where secure_access ...
2
votes
1answer
55 views
Creating Directories: with Permissions
I need to create a directory that is RW to all users using chown. what arguments should I pass chown to get a file with those permissions? Or maybe there is an even better way to do it......
1
vote
1answer
279 views
No exec permissions on programs in /usr/local/bin
I have installed the newest Erlang from source. As the final step I have executed
sudo make install
Among other things, it placed erl link in /usr/local/bin, but its permissions are insufficient ...