Removing permissions from all users including owner


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Removing permissions from all users including owner
# 8  
Old 06-18-2013
I really wish I could, but I don't have any access to Vi. The best I could do was tell you that it is AIX

---------- Post updated at 02:01 PM ---------- Previous update was at 01:42 PM ----------

So is there a way you can help me even if I don't have the output from the uname -a command?
# 9  
Old 06-18-2013
We are not withholding things from you out of spite... The system may be important, particularly for how it supports ACLs and the like.

How are you even going to accomplish this solution without a terminal?
# 10  
Old 06-18-2013
I am only trying to find information pertaining to if what I am asking can be done in Vi. I don't have access to Vi. I am trying to gather as much information as possible, with what I have. I apologize for not being as much help as I'd like to be, but I really don't have anything you guys are asking.

If you have heard of this being done before in Vi, please let me know----

o " Require that the Unix editor “vi” to have version control available. While working in Vi, users would be able to keep all the previous versions of the script from being edited. If an attempt is made to edit a script from command line (using Vi), an error message should be shown, coaxing the user to edit the script from a Windows Sub-version environment. The user, however, should be able read and execute script."

---------- Post updated at 02:17 PM ---------- Previous update was at 02:08 PM ----------

This is literally all I need to know. It shouldn't matter what OS is being ran, I just want to know if anybody has ever seen or heard of Vi having version control available; to where users would be able to keep all versions of the script from being edited. If an attempt is made, a message should be shown telling the user to edit the script in subversion. The user should only be able to read and execute script.


Can this be done?
# 11  
Old 06-18-2013
If you set a script read-only then they will get 'permission denied' when they try to write to it, but it won't say 'edit in subversion'. I think you'd have to customize vi to do that.
# 12  
Old 06-18-2013
Is that also for the 'owner' as well? My boss wants absolutely no editing to be permitted in Vi. Only read and execute.
# 13  
Old 06-18-2013
Root users will override this, otherwise it should restrict it for the owner as well. Still, knowing the system would help make it more specific.

A bigger problem would be preventing them from just doing 'chmod +w scriptname' out of frustration, or deleting it, or other such tomfoolery.

Realistically speaking, if you don't want them to edit these things -- why are they the owner?
This User Gave Thanks to Corona688 For This Post:
# 14  
Old 06-18-2013
To be honest, I have no idea actually. Different developers get different access. Maybe my boss is just looking for a quick fix rather than going in and removing people as owners. I honestly don't know.

I really do appreciate your help Corona, I'm sorry I couldn't provide you with as much information as I would have liked to. Hopefully when I conduct further research I can tell him some sort of solution, whether it be just removing write permissions from everyone.
 
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Permissions on a directory in /home for all users

Hi, I have created a shared directory on /home, where all users on a certain group have read, write and execute permissions. I did this using chmod -R g+rwx /home/shared/ The problem is, when a particular user creates a directory within /home/shared, other users are not able to write to... (8 Replies)
Discussion started by: lost.identity
8 Replies

2. Shell Programming and Scripting

Script for adding users to file permissions

I need a script to add the following two users ids to the permissions for various files: IIS_WPG and IUSR_CowGirl. I am fairly familiar with scripting but haven't been able to figure out how to do this via a script. Manually doing it is slow. I don't want to create users but only add them to a... (2 Replies)
Discussion started by: Stu Loventhal
2 Replies

3. Windows & DOS: Issues & Discussions

Script for adding users to file permissions

I need a script to add the following two users ids to the permissions for various files: IIS_WPG and IUSR_CowGirl. I am fairly familiar with scripting but haven't been able to figure out how to do this via a script. Manually doing it is slow. I don't want to create users but only add them to a... (2 Replies)
Discussion started by: Stu Loventhal
2 Replies

4. UNIX for Dummies Questions & Answers

Using find to search for any owner having execute permissions.

Hi I need help. I need to use find (or grep I don't care) to recursively search for files who have any kind of executable permissions (group and/or owner and/or other). I am looking for *.c and *.h This what I am using now: find . -name *.h -perm -111 -print but I don't want to retype that... (4 Replies)
Discussion started by: dissectcode
4 Replies

5. OS X (Apple)

Permissions appear different for local and OD users

If I look at the permissions of a folder on a network share while using a local admin account on my computer, then authenticating as a open directory user to connect to the share, they appear completely different than if I had logged in as an OD user and looked at it, it also appears different from... (0 Replies)
Discussion started by: glev2005
0 Replies

6. UNIX for Dummies Questions & Answers

can I assign permissions only for some users ?

I know how to change permissions for the owner, group or others. if I want a file readable for a group A of users and writable for a group B how can I do it ? thanks (2 Replies)
Discussion started by: aneuryzma
2 Replies

7. UNIX for Dummies Questions & Answers

different permissions to different users

Hi, how can I assign different permissions to different users in unix ? I want to allow userA to read a specific folder and deny read permission to userB thanks (2 Replies)
Discussion started by: aneuryzma
2 Replies

8. UNIX for Dummies Questions & Answers

How to copy owner permissions to group

Hi, I need a command or a script to change the group permissions to be the same as the owner permissions for all my files and directories (recursive) any idea ? (4 Replies)
Discussion started by: ynixon
4 Replies

9. Shell Programming and Scripting

determine owner directory permissions from within the directory

From within a directory, how do I determine whether I have write permission for it. test -w pwd ; echo ? This doesn't work as it returns false, even though I have write permission. (4 Replies)
Discussion started by: Sniper Pixie
4 Replies
Login or Register to Ask a Question