General :: Force The SGUID Even In Copy And Uncompress Commands Automatically?
May 11, 2010
I have a folder and its contents with the following permissions: 2750 (sguid bit). With this I ensure that a newly created file or folder inside that folder will adopt the SGUID. The problem is that if I copy files into that folder, these copied files don't adopt the SGUID. So I have to execute constantly the command: chgrp -R thegroup nameofthefolder everytime I copy or uncompress something into that folder. Is there any way to achieve this (force the SGUID even in copy and uncompress commands) automatically?
View 5 Replies
ADVERTISEMENT
Feb 12, 2011
Greetings, I want to automatically append flags to certain commands. For example, when I type:
ls
at the prompt, I want the
-la
flags automatically appended without me having to type:
ls -la
View 2 Replies
View Related
Jun 23, 2011
I want to copy a file (home/remote_computer_user/Desktop/test1.txt) from my remote office computer (a permanent URL + open port) to my home computer (home/home_computer_user/Downloads/).
How can I do this with shell commands in Linux?
My current thoughts:
ssh <user>@<computer1address> -p <port> - gives me a shell on the remote computer
(I think I should use scp, but I dont how exactly how in my case)
What are the exact commands I should use?
View 1 Replies
View Related
May 20, 2011
I have to copy files from HP unix server to SUSE linux server. I have tried rcp, but it does not work. Can someone help me with the commands or files to be changed inorder to copy the files.
View 3 Replies
View Related
Feb 13, 2011
The reason I ask is, we have a home server running Fedora 12. I would like to be able to let anyone just plug in a flashdrive, and have Fedora automatically grab and copy all the files on that flashdrive to a specific share.
View 1 Replies
View Related
Jun 12, 2011
I'm trying to run ubuntu 11.04 (64-bit) on my hp pavilion tx2100ed but it won't boot. After the grub bootscreen it goes black and doesn't react to Ctrl-Alt F1 ..F4.
Also booting the recovery mode doesn't work
To be able to start the installer I had to use xforcevesa.
Does any one know what this can be and how to solve it?
can i force x to start in vesa mode using grub commands?
View 3 Replies
View Related
Jun 22, 2011
How to move a data files from one Linux server to another in an online Internet environment, automatically daily, using a script?
View 1 Replies
View Related
Apr 23, 2009
I ftp upload a zip file to a linux pc, for example, somefile.zip, can I uncompress the zip file use "#tar zvf somefile.zip",
View 5 Replies
View Related
Jul 6, 2011
i'm used to using putty on a window's machine.With putty whatever you select is automatically on the clipboard without having to right click and select copy.And right click just pastes.
View 1 Replies
View Related
Sep 29, 2009
Upon attempting to uncompress a tarball with
Code:
View 3 Replies
View Related
Mar 15, 2011
I have got a backfile with extension .tar.gz.enc. After fooling around I found out that it is encrypted gzipped tarball.
View 2 Replies
View Related
Jul 18, 2011
I'm running a script and the response is, missing utility no uncompress. Please install this utility. The system searched in /usr/sbin; /usr/bin/; /bin.
where I can receive a uncompress (which I guess is a .rpm) or utility that will work with my version of RHEL 5.6?
Running I386 GNU/LINUX
2.6.18-238.el5 #1 SMP
View 2 Replies
View Related
Sep 19, 2009
I want to search a directory recursively looking for new .rar/ .zip files. When a new file is found I want to extract the contents to another directory. To top things off would like to rename the source file as something like original.rar.extracted.
View 8 Replies
View Related
Jan 11, 2010
I can't Copy, paste, select all, or find with my keyboard... pretty much all the commands that involve the Control key don't work. in firefox... the edit> copy, paste , etc commands are actually grayed out too.
View 7 Replies
View Related
Jan 15, 2010
I had automated some tedious commands in the terminal by writing them in a text file and placing an icon on the panel. By clicking the icon the commands ran in the terminal automatically. I cant for the life of me remember the icon command I used to get this to work.
View 3 Replies
View Related
Jul 5, 2011
I am using Fedora 14, I need to change the directory of a folder(myweb) from "homeuserdesktop" to "varwwwhtml" . Please give the Fedora commands to do this.
View 2 Replies
View Related
Aug 22, 2010
I'm connected to the internet using a wireless router. Each time I boot, I have to grant root privileges and type in a shell: iwconfig wlan0 essid linksys key dhclient wlan0 Isn't there a file(or location) that I can modify to automatically grant root privileges and execute these commands when debian starts? Something like autoexec.bat in windows.
Something else I'd like to mention is when I execute iwconfig.... for the first time, I get this incomplete result:
IEEE 802.11bg ESSID:"linksys"
Mode:Managed Access Point: Not-Associated Tx-Power=27 dBm
Retry long limit:7 RTS thr:off Fragment thr:off
Encryption key***********
Power Management:off
[Code]...
View 4 Replies
View Related
Aug 26, 2010
How can I automate the following: When I insert a flash drive into any of the available USB ports, some kind of script or software, must automatically mount it, delete everything off the flash drive, copy an audio file back to it and then automatically unmount the USB.Maybe I should setup some kind of Kiosk to use the above functionality - would that be easy?
View 2 Replies
View Related
Feb 13, 2011
Just wanting to know if there is a program or script or something I can use that will automatically copy all my files from a flashdrive, to a predetermined share, whenever that flashdrive is plugged into the server.
View 1 Replies
View Related
Oct 24, 2010
is there a program that would automatically copy podcasts to my mp3
View 2 Replies
View Related
Jun 24, 2011
What would be the best way to automatically copy all of the data off of a library of cds to a specific folder on the computer? I was thinking of running a bash script but I've run into a few snags figuring out the correct way to do it. Mainly due to the fact that the cd drive is mounted in a different folder in /media each time I insert a new diskAlso, the mounting and unmounting process causes it's own problems, but I think that could be covered by a for loop that checks /mtab every few seconds or so.
View 2 Replies
View Related
Apr 24, 2009
When using mput in smbclient (with recurse turned on) is there a way to automatically respond yes to the prompt to copy each file, or avoid the question all together?
View 2 Replies
View Related
Feb 15, 2010
make Dovecot automatically archive the servers copy of the email if/when a client connects to it using POP? I am trying to achieve the the same thing as Gmail's feature.
View 1 Replies
View Related
Mar 11, 2010
As the thread title says: "How can I uncompressed a .KGB file?"
View 1 Replies
View Related
Jun 5, 2011
I intend on installing a version of Freebsd 8.2 under a virtual machine running on centos 5.6.The dvd image image is FREEBSD-8.2....xz. I would like to uncompress it so that I can burn it to a DVD, but have never confronted such a format. Can someone suggest which utility under Linux would be used to uncompress it?
View 4 Replies
View Related
Jun 9, 2010
I was given a 1.9GB zipx file. I googled it but could not find a way to uncompress it natively on Linux (only on Windows with the latest release of Winzip).
View 1 Replies
View Related
Jun 11, 2010
I have been given a 1.9GB zipx file (created with a recent version of winzip). I can't find a way (and yes I googled it) to open it on Linux.
View 2 Replies
View Related
Jan 25, 2010
what to do for lock automatically slackware 13 if not used for n minutes ?What can i do to start automatically the ktorrent (a bittorrent program for linux) on system starts on slackware 13 ?
View 2 Replies
View Related
Mar 1, 2011
How to copy a Read-Only file in Linux and make the copy writable with a single cp command in Linux (Ubuntu 10.04)? The --no-preserve and --preserve seemed to be good candidates, except that they should "and" the mode flags, while what I am looking for is something that will "or" them (add +w mode).
More details: I have to import a repository from GIT to Perforce. I want that all Perforce depot files are Read-Only (that is how Perforce was designed), while all other files that were derived/copied from depot files are writable. Currently if a Makefile tries to copy a Read-Only file then the derived file will also be Read-only. This leads to build-errors when cp tries to overwrite Read-Only file second time. Of course the --force is a workaround here but then the derived file is also Read-Only. Also I do not want to mess with "chmod" after each "cp" command - I will do that only as the last resort.
View 1 Replies
View Related
Jul 5, 2011
I have a fairly simple setup for my Network attached storage. I have a 1TB external hard drive connected to my Asus RT-N16 router through USB. I have enabled file sharing in the router, and thus the hard drive shows up on the network as a shared folder. No hassles, I can read and write to it.
Because I want to use this hard drive for networked backups, I tried to get it to mount on boot with fstab. Here is the line in my fstab file :
Code:
//192.168.1.1/SharedFolder /media/SharedFolder smbfs guest,_netdev 0 0
It mounts fine, no problems, and once again I'm able to read and write files to it. The problem occurs when I try to access the mounted drive and uncompress an archive file for the duplicity backup program. It gives me a list of messages showing that all the files inside the archive failed to uncompress because of error messages like these :
[Code]...
If I try to extract the same archive by manually going to Network > RT-N16 (Router) > Shared Folder, it extracts fine. But I need this folder to be mounted on boot because I use it very frequently. I tried changing smbfs to cifs and it still didn't work. Please not that my knowledge of samba, network storage and file systems is very basic. I tried searching the internet for more information about this but wasn't able to find much information that pertains to this particular problem. Hoping the linux pros here could give me some pointers ..
View 2 Replies
View Related