[SLE] SLES 9, Perl, and permissions
Hi everybody, This post might belong to a Perl group, but since I'm not sure what the problem is I will post it here as well. Sorry for the long post. I have a server with plenty of users that sends files via scp to their account. There is a main user (lets call him "main") that scan these user directories (a perl script), picks up the files, and process them, and then delete the copies in the user directories. To accomplish this, I would set up permissions for the users as follows. I would create user1 with his own group user1g. Then I would set all permissions on his directories to rwxrwx---. Then I would add the group user1g to the user main. This gives the user "main" full control over the user "user1". This setup has been working great for several years, from SuSE pro 7.2 to SLES 9. Now recently I have added a user (lets call him userx), and now my perl script encounters a problem. The line opendir IN, "/home/userx/files" || die ("Could not open directory : $!"); fails miserably, stating "Permission denied". The users user1, user2 etc still works fine, and the setup of userx is exactly the same as that of the others (in fact, I use the same script to create all users). The group of userx, namely userxg, is also added to the user "main". At first I thought that the user "main" can only belong to a limited number of groups, but some testing proved this theory false. What is even more funny, is that I can't replicate this error on my SuSE 10.0 machine. Here it works fine. Any ideas? Am I looking at some Perl or SLES 9 bug? Thanks Marius Roets -- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com
participants (1)
-
Marius Roets