I've run into a bizarre issue. I'm working on a project with a friend. I created a
Here are the permissions:
And I am sure I am in the group:
Any ideas? asked 15 Feb '11, 03:38 Joehillen rfelsburg ♦ |
What if you try and create the file with sudo?
Does it work then? Also, Do you and your friend have the same UIDs? (example - you both say have a UID of 1001) Are you both SSHing into this system? Is it over a LAN with Samba? answered 16 Feb '11, 00:02 Ron ♦ |
Do you have selinux turned on? If so can you see if you are receiving avc denied errors in the auditd log? Please post the run of the following two commands as well. /usr/sbin/sestatus cat /etc/sysconfig/selinux answered 08 Apr '11, 13:32 rfelsburg ♦ |
After no response to my queries 2 months ago, I doubt we'll get any response at all on this question. Someone mark it closed. We get a lot of these "hit and runs" which is where basically someone drops a question into the queue and then never returns for an answer.... or they wait a very short time and then give up. Having tons of "hit and runs" like this really brings this place down because it causes a lot of extraneous junk for the readers to sort through. We need a janitor to /kill these. answered 08 Apr '11, 17:14 Ron ♦ Same thing here, just wasn't paying attention to the date. -Rob
(09 Apr '11, 13:22)
rfelsburg ♦
|
you must see the permission on the project directory , i think you have not a write permission on it answered 04 Dec '13, 04:29 Eslam Baset |
Yes use below command it will help you. Sudo means Super user do like one you have Run As Administrator in windows.
answered 22 Jan '14, 11:32 Gurupal Singh |
Just so you know the you have not set the "sticky" bit, rather you have set the "suid". This means you are both running as root. http://docs.oracle.com/cd/E19683-01/816-4883/secfile-69/index.html answered 23 Jan '14, 04:49 zoolium Technically, you're correct. He didn't set the sticky bit, but most newer users don't realize that the sticky bit is an actual change, they think it just means one of the special bits. SUID, SGID,etc. Howeverm he didn't set suid, he set sgid, which means any file/directory under that will be created with the same group. He was correct, if you look at the directory perms you can see that the sticky bit is set in the group execute place. drwxrwsr-x 4 root team 4096 2011-02-12 20:31 . U G O d rwx rws r-x If he had set the suid bit, it would have been U G O d rws rwx r-x Also, this thread is dead and answered :-) IT was 2 years ago, if it makes you feel better, it seems like everyone manages to find this question and keep answering it. Lol, Heck, I even did the same thing.
(23 Jan '14, 16:04)
rfelsburg ♦
Yeah, I didn't spot this thread had been kicked into touch, I was only responding to an email alert "Gurupal Singh" had triggered yesterday. Naturally, I meant setgid not setuid ....my bad ;-)).
(24 Jan '14, 06:12)
zoolium
|