[BackupPC-users] User Permissions
Hi, I restored some files, well a bunch of them but in the process user's permissions got mixed up. Now, how can I apply chmod o+x only to folders? I want other users to be able to open folders without putting x bit to all the files. BTW, I posted the question about filtering file extensions using rsyncd, but I got no reply. Should I assume that it's not possible to do that? Thanks Dejan - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List:https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki:http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/
Re: [BackupPC-users] User Permissions
Just use find to locate directories and make them executable: $ find /path/to/dir -type d -exec chmod +x {} \; Louis-Marie Dejan Batic a écrit : Hi, I restored some files, well a bunch of them but in the process user’s permissions got mixed up. Now, how can I apply chmod o+x only to folders? I want other users to be able to open folders without putting x bit to all the files. BTW, I posted the question about filtering file extensions using rsyncd, but I got no reply. Should I assume that it’s not possible to do that? Thanks Dejan - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List:https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki:http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/ - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List:https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki:http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/
Re: [BackupPC-users] User Permissions
Hi, Louis-Marie Mouton wrote on 2008-09-17 13:38:38 +0200 [Re: [BackupPC-users] User Permissions]: Dejan Batic a écrit : [...] Now, how can I apply chmod o+x only to folders? Just use find to locate directories and make them executable: $ find /path/to/dir -type d -exec chmod +x {} \; or if you don't want to exec a chmod for each directory, find /path/to/dir -type d -print | xargs chmod o+x (and it's o+x if you only want o+x ;-). Alternatively, if you want to give others access to all files too, it's simply chmod -R o=u,o-w /path/to/dir (that's copy permissions from user to others, then take away write permission for others). Regards, Holger - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List:https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki:http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/
Re: [BackupPC-users] User Permissions
Dejan Batic wrote: Hi, I restored some files, well a bunch of them but in the process user's permissions got mixed up. Now, how can I apply chmod o+x only to folders? Hi, i'm not sure, but i think this should work even with rsync XferMethod: simply add chmod option to ${RsyncRestoreArgs} directive in your machine specific host configuration. U can choose to modify the permission of directory or files with 'D' or 'F' flags before permission-type. For example: --chmod=Dg+s,ug+w,Fo-w,+X Hope this help, and (as usual) sorry for my bad english. Bye, Veon. - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List:https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki:http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/
Re: [BackupPC-users] User Permissions
Dejan Batic wrote: Now, how can I apply chmod o+x only to folders? I want other users to be able to open folders without putting x bit to all the files. use chmod o+X (note the upper-case X). This will add 'x' permissions to directories only. -Rob The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. If you are not the addressee, any disclosure, reproduction, copying, distribution, or other dissemination or use of this transmission in error please notify the sender immediately and then delete this e-mail. E-mail transmission cannot be guaranteed to be secure or error free as information could be intercepted, corrupted lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message which arise as a result of e-mail transmission. If verification is required please request a hard copy version. - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List:https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki:http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/
Re: [BackupPC-users] User Permissions
Dejan Batic wrote: Now, how can I apply chmod o+x only to folders? I want other users to be able to open folders without putting x bit to all the files. use chmod o+X (note the upper-case X). This will add 'x' permissions to directories only. -Rob Thank you all for your answers. Dejan - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List:https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki:http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/
[BackupPC-users] User Permissions
Hello, I've now several times tried to install backuppc, but I always failed. Now I tried the backuppc-3 ebuild for gentoo, with the vhosts use flag set. I'm a bit surprised, that I can reach, the CGI Script from localhost:80 (wich then leads to this error: Permission denied: exec of '/var/www/localhost/cgi-bin/BackupPC_Admin' failed You are probably familiar with this error. Doesn't vhost mean, that it should install on a different port, as 8080 for instance?? Anyway, I went through the faq and it suggests to run Backuppc as the backuppc user and as the www-servers user (which *I think* is apache): vdr01 ~ # su backuppc [EMAIL PROTECTED] /root $ /var/www/localhost/cgi-bin/BackupPC_Admin bash: /var/www/localhost/cgi-bin/BackupPC_Admin: Permission denied [EMAIL PROTECTED] /root $ exit exit vdr01 ~ # su apache vdr01 ~ # /var/www/localhost/cgi-bin/BackupPC_Admin Content-Type: text/html; charset=utf-8 !doctype html public -//W3C//DTD HTML 4.01 Transitional//EN htmlhead titleBackupPC: Error/title link rel=stylesheet type=text/css href=/backuppc/image/BackupPC_stnd.css title=CSSFile meta http-equiv=pragma content=no-cache /headbody onLoad=document.getElementById('NavMenu').style.height=document.body.scroll Height a href=http://backuppc.sourceforge.net;img src=/backuppc/image/logo.gif hspace=5 vspace=7 border=0/abr div id=Content div class=h1Error: Wrong user: my userid is 0, instead of 107(backuppc) /div I must note that su apache does not seem to do anything. Do I have to set additional use flags? Do you have any other suggestionst? I'm out of Ideas. I've really been trying hard to get backuppc installed, and I've given up several times. But it just seems like the perfect app for me. Greetings, Hendrik - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/backuppc-users http://backuppc.sourceforge.net/
Re: [BackupPC-users] user permissions cgi interface
On 07/11 08:00 , daniel wrote: I've installed BackupPC on CentOS 5 server but I have problems with cgi interface. Can someone to help me? I cannot run the cgi interface. How I have to set permission of backuppc user to run the cgi interface? I've tried but I've got the error message: Access forbidden and other error message Can't read config.pl or language. For now the backup script have the permissison: -rwx--x-. If I chmod u+s BackupPC_Admin, the permission of BackupPC_Admin is -wsx--x-. The backuppc user is on apache group. Thanks in advance Are you installing from a package or from source? -- Carl Soderstrom Systems Administrator Real-Time Enterprises www.real-time.com - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/backuppc-users http://backuppc.sourceforge.net/
Re: [BackupPC-users] user permissions cgi interface
On 07/11 08:10 , daniel wrote: Yes, i've installed the backupPC from source. don't install things from source on production servers. :) (for a large number of reasons I won't go into here). I there are some backuppc RPM packages out there; use those. that should set up your permissions correctly; and it'll make upgrades a *lot* easier in the future. Let's keep this discussion on the mailing list, so other people can benefit from it. :) -- Carl Soderstrom Systems Administrator Real-Time Enterprises www.real-time.com - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/backuppc-users http://backuppc.sourceforge.net/
Re: [BackupPC-users] user permissions cgi interface
I had a problem on a CentOS 4 server when running cgi on Apache (trying to configure a MoinMoin wiki). SELinux turned out to be the culprit. -Rob daniel wrote: Hi! I've installed BackupPC on CentOS 5 server but I have problems with cgi interface. Can someone to help me? I cannot run the cgi interface. How I have to set permission of backuppc user to run the cgi interface? I've tried but I've got the error message: Access forbidden and other error message Can't read config.pl or language. For now the backup script have the permissison: -rwx--x-. If I chmod u+s BackupPC_Admin, the permission of BackupPC_Admin is -wsx--x-. The backuppc user is on apache group. Thanks in advance - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/backuppc-users http://backuppc.sourceforge.net/
Re: [BackupPC-users] user permissions cgi interface
daniel wrote: Hi! I've installed BackupPC on CentOS 5 server but I have problems with cgi interface. Can someone to help me? I cannot run the cgi interface. How I have to set permission of backuppc user to run the cgi interface? I've tried but I've got the error message: Access forbidden and other error message Can't read config.pl or language. For now the backup script have the permissison: -rwx--x-. If I chmod u+s BackupPC_Admin, the permission of BackupPC_Admin is -wsx--x-. The backuppc user is on apache group. The script needs to be readable by apache as well as executable -r-sr-xr-- 1 backuppc apache 3981 Feb 7 16:21 BackupPC_Admin -- Les Mikesell [EMAIL PROTECTED] - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/backuppc-users http://backuppc.sourceforge.net/