Thread View: comp.sys.next.misc
7 messages
7 total messages
Started by Axel Zinser
Thu, 09 Apr 1992 17:07
files on ext. HD change their ownership by themselves ?!
Author: Axel Zinser
Date: Thu, 09 Apr 1992 17:07
Date: Thu, 09 Apr 1992 17:07
15 lines
1105 bytes
1105 bytes
Hi, I just connect my old 105-MB hard disk as a second disk to my NeXTstation. All worked fine up to the moment I recognized that the ownership of all files had been changed to fifi.nogroup (my own id is fifi.fifi). I restored the ownership, checked it and continued working. After a while I again looked for the files on the second hard disk and - damned - the ownership had been changed to fifi.nogroup again.... Can anyone tell me, why that happens and/or which task does it? (I'll kill it :-)) Thanks, Axel -- Axel Zinser +49 511 699945 fifi@hiss.han.de Uni Hildesheim, RZ +49 5121 883577 fifi@rz.uni-hildesheim.de email - innovativ, dauerhaft, umweltvertraeglich...
The fix (was: files on ext. HD change their ownership by themselves ?!
Author: Charles Herrick
Date: Fri, 10 Apr 1992 18:57
Date: Fri, 10 Apr 1992 18:57
29 lines
1542 bytes
1542 bytes
Axel Zinser writes > I just connect my old 105-MB hard disk as a second disk to my NeXTstation. [...] > I recognized that the ownership of all files had been changed This belongs on comp.sys.next.sysadmin, so I've set the net news header line "Followup-To:" accordingly. you need to have an entry in the file called /etc/fstab for both drives, otherwise the automounter resets ownership of files on drives that are not the boot drive. This happens when you log in (right?). Put a second line into /etc/fstab like this: /dev/sd1a /OldDrive 4.3 rw, noquota 1 2 To learn more about this, launch Digital Librarian and search the UNIX man pages for fstab and mount and umount and don't forget the command "mount -p" for those times when you can't remember the syntax of the lines you have to put in /etc/fstab!. By the way, before you diddle with /etc/fstab, since you'll have to log in as root, make a copy of /etc/fstab first (call it something like fstab.original) and then edit /etc/fstab. Good luck chuck
Re: files on ext. HD change their ownership by themselves ?!
Author: Axel Zinser
Date: Fri, 10 Apr 1992 19:55
Date: Fri, 10 Apr 1992 19:55
15 lines
1267 bytes
1267 bytes
In article <1992Apr09.170729.2403@hiss.han.de> I asked: > I just connect my old 105-MB hard disk as a second disk to my NeXTstation. > All worked fine up to the moment I recognized that the ownership of all > files had been changed to fifi.nogroup (my own id is fifi.fifi). [...] Thanks for all the answers, the reason had been that I left the second hard disk under control of autodiskmount. Solution: creating a correct entry in /etc/fstab by running (for example) 'mount -p > /etc/fstab' and rebooting the system. Since that all works fine. Regards & Thanks, Axel -- Axel Zinser +49 511 699945 fifi@hiss.han.de Uni Hildesheim, RZ +49 5121 883577 fifi@rz.uni-hildesheim.de email - innovativ, dauerhaft, umweltvertraeglich...
Re: files on ext. HD change their ownership by themselves ?!
Author: Jamie O'Keefe
Date: Fri, 10 Apr 1992 20:30
Date: Fri, 10 Apr 1992 20:30
25 lines
1855 bytes
1855 bytes
fifi@hiss.han.de (Axel Zinser) writes: >I just connect my old 105-MB hard disk as a second disk to my NeXTstation. >All worked fine up to the moment I recognized that the ownership of all >files had been changed to fifi.nogroup (my own id is fifi.fifi). I restored >the ownership, checked it and continued working. After a while I again >looked for the files on the second hard disk and - damned - the ownership >had been changed to fifi.nogroup again.... Can anyone tell me, why that >happens and/or which task does it? (I'll kill it :-)) I noticed something similar a while ago. I attached an external drive to my machine and found that whenever I logged in I owned every file on the external drive. If I logged in as root then root owned every file on the external drive. This was confusing to say the least. What I found, though, was that NeXTStep mounted the external disk when I logged in. Thus, it made sense that I owned it since my login shell mounted it. i fixed this by making an entry in /etc/fstab so that the Next mounted the External drive when it booted. I hope this helps solve your problem, jamie -- Jamie O'Keefe FTP Software, Inc. Technical Support
Re: files on ext. HD change their ownership by themselves ?!
Author: Andrew Loewenstern
Date: Sat, 11 Apr 1992 07:08
Date: Sat, 11 Apr 1992 07:08
25 lines
1474 bytes
1474 bytes
In article <1992Apr09.170729.2403@hiss.han.de> fifi@hiss.han.de (Axel Zinser) writes: > I just connect my old 105-MB hard disk as a second disk to my NeXTstation. > All worked fine up to the moment I recognized that the ownership of all > files had been changed to fifi.nogroup (my own id is fifi.fifi). I restored > the ownership, checked it and continued working. After a while I again > looked for the files on the second hard disk and - damned - the ownership > had been changed to fifi.nogroup again.... Can anyone tell me, why that > happens and/or which task does it? (I'll kill it :-)) You need an fstab entry for the disk... something like this: /dev/sd1a /<mount-point> 4.3 rw,noquota 0 1 You need to change <mount-point> to the path of where you have the disk mounted. andrew -- andrew@cubetech.com Andrew Loewenstern | "listen: there's a hell of a good universe Cube Technologies, Inc. | next door; let's go." --- e.e. cummings
Re: files on ext. HD change their ownership by themselves ?!
Author: Brett Bullock
Date: Mon, 13 Apr 1992 01:22
Date: Mon, 13 Apr 1992 01:22
33 lines
1823 bytes
1823 bytes
In article <1992Apr09.170729.2403@hiss.han.de> fifi@hiss.han.de (Axel Zinser) writes: > Hi, > > I just connect my old 105-MB hard disk as a second disk to my NeXTstation. > All worked fine up to the moment I recognized that the ownership of all > files had been changed to fifi.nogroup (my own id is fifi.fifi). I restored > the ownership, checked it and continued working. After a while I again > looked for the files on the second hard disk and - damned - the ownership > had been changed to fifi.nogroup again.... Can anyone tell me, why that > happens and/or which task does it? (I'll kill it :-)) > > Thanks, Axel The same thing has been happening to me lately. The ownership of my external HD and everything on it changes to whoever loged in last. It must not be happening every time, though, because I found out when I was told that I didn't have permission for a file on the external that I use often. I checked into it and found that everything was owned by one of the other users on my machine. It seems like it happens often, but not every time. I'm root here too, so the other usrs aren't doing it. Hummmm...... Brett Bullock brett@proimage.toledo.oh.us (NeXTmail) -- Brett Bullock brett@proimage.toledo.oh.us (NeXTmail) bbulloc@bgsu.edu
Re: files on ext. HD change their ownership by themselves ?!
Author: Brian Lakeman
Date: Mon, 13 Apr 1992 16:12
Date: Mon, 13 Apr 1992 16:12
17 lines
1251 bytes
1251 bytes
In article <1992Apr13.012225.178@proimage.toledo.oh.us> brett@proimage.toledo.oh.us (Brett Bullock) writes: >In article <1992Apr09.170729.2403@hiss.han.de> fifi@hiss.han.de (Axel >Zinser) writes: >> All worked fine up to the moment I recognized that the ownership of all >> files had been changed to fifi.nogroup (my own id is fifi.fifi). I [stuff delete] The same thing happened to me. I added my external drives to /etc/fstab so that they mounted on start-up rather than mounting when I login, and that fixed the problem. -Bri -- Brian Lakeman lakeman@plains.nodak.edu (Internet) NDSU-ACM Consultant Manager uunet!plains!lakeman (UUCP) North Dakota State University lakeman@plains (Bitnet)
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads