LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   emacs / vi file permissions etc (https://www.linuxquestions.org/questions/linux-general-1/emacs-vi-file-permissions-etc-11999/)

elist 01-17-2002 03:29 PM

emacs / vi file permissions etc
 
Say I have some files which are owned by a group 'dev'. I want to edit these files using emacs / gvim or whatever else, while logged into X as bob for eg.

When the file I want to edit is opened however it can't be written to based on permissions. Is there someway to start emacs /gvim etc as a different user?
eg.
gvim -su dev
or something like that.
Thanks.

therion12 01-17-2002 03:39 PM

Sure. Login is as 'bob' and open up a Konsole and type 'su root' or just 'su' and then type the admin pass and then start upp vi or EmaX


All times are GMT -5. The time now is 07:52 PM.