CentOS 5 :: Ftp Access And Write Permission On Www Subdirs
Apr 24, 2011
Which ways are creating an ftp account (not root or special) eg. with proftpd, where logging in with that ftp, user can access and write given www subdirs content.
View 6 Replies
ADVERTISEMENT
Apr 23, 2011
I Have Configure Samba server in Centos, I need give permission like for some user(5User) can able to read and write the particular folder, and again i need give some another user(6user) can only read permission for same folder.
View 1 Replies
View Related
Feb 15, 2010
I have a directory in /var/www/html with 777 permissions... when I try to access from another machine (on the same network - local) I get a permissions error I thought if I open recursively (chmod -R 777 directory_name) that I should be allowed to see the pages...
View 2 Replies
View Related
Jan 4, 2011
I installed php yum install php. when i go to localhost it loads index.html ok but when i type localhost/php.php it says
You don't have permission to access /php.php on this server.
Here is a line in my httpd.conf file
View 10 Replies
View Related
Jul 26, 2009
Its been a while (maybe too long) since I last used yum to check for updates / install anything on my server, but when I tried the other day I got the following response:
# yum list updates
Loading "installonlyn" plugin
Setting up repositories
Error: Cannot find a valid baseurl for repo: updates[code]......
Trying other mirror.Error: Cannot open/read repomd.xml file for repository: updates
A few weeks ago there were some network changes, but nothing else should have changed OS side.I have checked /etc/resolv.conf and that looks ok - ping and wget have no problem resolving hostnames.I tried setting enabled=0 in yhe .repos files - this allowed me to do a 'yum list', but 'yum list updates' returned an empty list - I am definitely not 100% up to date!
P.S. Attachment not there at the moment - getting the following error when I try to upload the zip file...Errors Returned While Uploading
Failed to open directory with write permission: /var/wwwthtml/oldwebcopy.centos.org/uploads/newbb
View 7 Replies
View Related
Mar 3, 2010
Basicly just installed a fresh version of Cent OS 5.4 with apache httpd installed automaticly during the installation. The http daemon is running and when navigating to localhost i get the welcome cent os apache page thingy. The problem is when i put an index.html file in /var/http/www then try and navigation to localhost I get a 403 forbidden error.
View 2 Replies
View Related
Feb 4, 2010
What are the possible problem when Windows access the file from Ubuntu got Read Only even though have a full permission to read, write and execute the file? Ubuntu to Ubuntu accessing the file there is no problem only Windows got a problem.
View 1 Replies
View Related
Mar 13, 2009
I have two folders as :
drwxrwxrwx 2 root root 1368064 Mar 10 18:28 monitor
drwxrwxrwx 7 root root 12288 Feb 18 17:07 monitorDONE
I have created one short cut link for this folder with below command :
ln -s monitorDONE recordings lrwxrwxrwx 1 root root 11 Mar 13 14:30 recordings -> monitorDONE This link is under /var/www/html Now, when I do IP/recordings It show me an Error as Forbidden You don't have permission to access /recordings on this server.
View 19 Replies
View Related
Feb 9, 2010
Have no idea what I am doing operating a server. Our programmer got a new job and I am the one who has to take it over. Everything was fine til yesterday. You see I made a control panel to easier update the site www(dot)discoverysound(dot)com
but yesterday when I went to update the site I got an error called fopen. I thought I fixed it (and boy did I ever) but now I cannot get to my site because it says Forbidden You don't have permission to access / on this server. Apache/2.0.47 (Unix) mod_ssl/2.0.47 OpenSSL/0.9.7a DAV/2 PHP/4.3.3RC4-dev Server at www(dot)discoverysound(dot)comPort 80.
View 2 Replies
View Related
Feb 21, 2010
I tried to read the File Permissions page on the wiki and my eyes glazed over after about three sentences. I've got a folder called /var/www/pics that I just want to be able to save image files to. My only other choice as I understand it is to save them to my home folder, then use a "sudo mv" command to copy files to that directory. How do I give my account permissions to save a file in that directory?
View 2 Replies
View Related
Apr 7, 2010
why can't I copy files to my plugins folder for IceWeasel ?? I'm using Debian (Lenny I think) for PPC & I'm getting I don't have permision to write to the directory when I'm logged in as admin?
View 6 Replies
View Related
Jul 25, 2011
I just have installed Fedora 15 to use it for multimedia server. I have installed also samba. Now I'm trying to access it from another PC (Windows 7) and I have no write access.
Code:
[root@echo mnt]# ls -l
total 12
drwxr-xr-x. 2 root root 4096 Jan 1 2006 boot
[Code]....
i just read whole internet (i have spend over 6h for reading and testing a lot of options and nothing...)
View 9 Replies
View Related
Jun 29, 2010
i have client and server PCs, both with openSuse 11.2.
on the server side, i have mounted HD partition to /vmshare dir. relevant line in /etc/fstab reads:
Code:
/dev/disk/by-id/ata-WDC_WD3200AAJS-07B4A0_WD-WCAT16493946-part2 /vmshare reiserfs user,acl 1 2
i want to export /vmshare dir via nfs. i have configured it through yast and resulting line in /etc/exports reads:
Code:
/vmshare *(rw,root_squash,sync,no_subtree_check,crossmnt)
the permissions for this directory is drwxrwxr-x root vmshare.
i can successfully mount the exported dir on client side, i can move between directories and list contents, but i can't write into it (not even as a root). on the server side, i can write to the directory only as root. the vmshare group is created on both machines with same gid as well as all users have same uids. firewalls are down.y.
View 3 Replies
View Related
Jan 11, 2011
Is there any use if a file has only write and execute permission and not read permission?
View 2 Replies
View Related
Mar 9, 2010
How do I use "chmod" command so that it allows me to write a file inside a certain directory ? This directory has permissions in the formdrwxr-xr-xOnce I try to write a file there, it says "Permission denied" ! Don't advise to use "sudo", since the file is created by some executable program compiled from a source code. If I was creating the file myself, I wouldn't have gone to this forum.
View 4 Replies
View Related
Aug 14, 2011
cat /etc/fstab
mount
ps -A
ls -al /media/
dmesg
groupsfootnotes
My problem:
When plugging in a pen drive it will be automounted, but only root (who owns it) has write access to it. Other users only have write access. (Neither my user, nor an unmodified test user)
My aim:
I want to be able to write on my pendrive without any additional manual work after plugging it in (iirc that is default on a standard ubuntu install).
Possible causes:
I once had a time where I wanted everthing to be minimal. Might be, that I removed something in connection with my problem. I reinstalled everything that came to my mind and could be connected to that problem w/o success. I merely removed stuff than editing stuff (never touched /etc/fstab or /etc/udev/rules.d/*). S
So I think I am missing some kind of service, that manages my (user?) permissions or so.
I use:
Ubuntu 10.04 (initially a kubuntu but I remove nearly everything Qt/KDE stuff) fluxbox (but most gnome services are active).
I tried/checked:
check my automount setting[1] - did not change the behaviour
media_automount - is checked
media_automount_open - is checked
usbmount - is installedntfs-config - did not help (even after reboot)
manual mount[2] - worked, but i don't want to do that everytime I plug in a pendrive
gksudo users-admin (made sure that amongs others the following entries are checked)
Access external storage devices automatically
Administer the system
Mount user-space filesystems (FUSE)
I didn't try:
chmod - seems to be only used for ext* fs
edit /etc/fstab - seems not to be supposed for such variable things like pendrives
- changing file systems for same pendrive
- different number of pen drives
- every pendrive needs its own fstab entry
udev rules - I was told to write some, but I am reluctant because- I never did that before (so I also didn't mess them up)
Additional info:
Code:
benedict@box:~$ cat /etc/fstab
# /etc/fstab: static file system information.
# Use 'blkid -o value -s UUID' to print the universally unique identifier for a device; this may be used with UUID= as a more robust way to name devices that works even if disks are added and removed. See fstab(5).....
View 4 Replies
View Related
Oct 22, 2010
How would i write a command that can find all the objects under the etc directory that have group write permission enabled and have not been accessed in the last X days. This is what i got from internet souce but i m not able to modify it according to my distribution. find /etc -perm -0070 -a -mtime +X ! -type l?print Here is the exact statement from link i m referring to.
[Code]..
View 3 Replies
View Related
Dec 31, 2010
I have tried to 'makepkg -s' easy-e17 in a few different places, but to no avail. I get the error:
Code:
ERROR: You do not have write permission to store packages in /bin/easy-e17.
Aborting...
Though, I also get this error for any other directory I try in. When trying with 'sudo' I am told that it is a "bad idea." I have never used makepkg before, so whatever is wrong might be obvious; I have never "fine-tined" my makepkg.conf before, either. Probably not relevant, but just in case: easy-e17 is a group of files from the Arch User Repository for installing Enlightenment (DR17). Perhaps there is something I need to install in order to make packages from the AUR? Or does that sound ridiculous? I wouldn't know.
View 3 Replies
View Related
Dec 28, 2010
I have setup a NFS server and this the content of /etc/exports at the server with IP A.B.C.D1 is:/home/shared A.B.C.D2(rw,no_root_squash)Problem is, only the root at A.B.C.D1 and A.B.C.D2 can write to that folder.
View 9 Replies
View Related
Oct 17, 2009
I need to, through a bash script, go through a given directory (given as argument 1) to list out the relative path in this directory (including $1) for eact subdirectory which contains files. Directories which only contain . .. and eventually only subdirectories SHALL NOT be listed. It is this last requirement that makes it difficult for me.
I have been using the tree command for now, but I have not found a way to ignore paths to directories which only contains other subdirs or nothing at all in any easy way. I may offcourse test each directory after they are listed but this gives an extra loop to go through and I beleive it should be possible to do it directly when creatring the list. I guess by using find or ls in conjuntion with the tree command or by itself it should be possible but I am not to conversant of nested script commands.
View 9 Replies
View Related
Apr 22, 2010
I'm running ubuntu 9.10, and created a softraid5 with no problems. Now i need it to automount with user read/write access, and i need to make some network share folders. My fstab has the following line for the raid:
Code:
/dev/md0 /media/raid auto rw,user,auto,exec 0 0
After i mounted it, i changed the permission with:
Code:
sudo chmod 777 /media/raid/
So now i can create folders and files on it.
Then i created some shares, one with guest access and other with no guest access.
Now the questions:
1) If i access the guest shared folder via WinXP, i create files and folders, but they appear locked on ubuntu, so i cant access them until i change the permissions. If i go to proprieties/Permissions, the owner is "nobody".
2) What password do i need to use on WinXP, and i try to access the non-guest shared folded? Do i need to create a user just for that?
View 1 Replies
View Related
May 1, 2011
jeff@optiplex:/media$ ls -l
total 124
lrwxrwxrwx 1 root root 6 Apr 7 14:46 cdrom -> cdrom0
drwxrwxr-x 2 root root 4096 Apr 7 14:46 cdrom0
[code]....
View 10 Replies
View Related
Apr 29, 2010
I switched a external 500GB usb HD from FAT to ext4, because the box it's on no longer has windows.It mounts fine and I can read it - but not write.I have some inkling as to what to do, but prefer your opinions first.
View 9 Replies
View Related
Nov 9, 2010
I am having difficulties assigning permission for wordpress to write files. I am having problems with the permalink within wordpress and I think it might be because of the level of permission wordpress has. Currently on my system I need to set permission to 777 in order for wordpress to write to the .htaccess file.
I am running my website on a Ubuntu machine. Version 10.10 Apache2 2.2.4
However, when I leave the permission level set to 777 I still cannot get the permalink to point to the corrent page......See my discussion on this here. [URL]
I think what I need to do is change wordpress to use a user permission or a group permission and not "everyone". I would rather have wordpress setup to login as a specific user before it can write over a file.
View 5 Replies
View Related
Dec 21, 2010
I have a file the owner is root:root ( mode is 644 ), I want to release read & write permission to a non root user ( eg. admin_usr ), I tried to create a specific group ( eg. ADM ) and release it to root user and admin_usr ( by adding this users to ADM in /etc/group ) , but it is not work, if preserve the file mode to 644 , is it ok? how to do it if I want to have read & write permission in my case ?
View 5 Replies
View Related
Jan 20, 2011
I am installing Big Brother on a CentOS 5.2 running the default Apache 2.2.3. When I try to access any web page I get the following error: Forbidden You don't have permission to access /bb/ on this server. Apache/2.2.3 (CentOS) Server at fmsubbnix Port 80 So far I have:
1) Set the Directory options to FollowSymLinks
2) Verified all directory and file permissions are at 755
3) Set permissions temporarily to 777 and received same error so I am assuming the issue is in a config file somewhere
4) in hhtpd.conf verified <Files ~ "^.ht"> is correct
5) verified the "default" directory is correct (/var/www/html)
I have read and tried several ideas in posts listed on the web but to no avail and am at a loss as to what to look for next..
View 3 Replies
View Related
May 15, 2011
I have a Qnap 219p NAS to which I have connected a USB external harddrive. I can access the external harddrive from my windows box using the network share, but at first i couldn't access the folders. The permissions set in the NAS GUI for the external drive is correct and are identical to the permissions set to the 2 internal drives.
I ssh'ed to the nas and used 'chmod -R 770 /share/external/sds1' - this granted me access to the folders, and some files. I can open all files in the root, but if I go just 2 folders 'deeper', i can't open the files in this folder, and in the folders after that.
In ssh, if i navigate to the folder wher I cannot open the files and use 'ls -l', i can see that the permissions (770) hasn't been applied to these files. How can I get chmod to apply the 770 permission to all files, folders, subfolders and files in subfolders etc., without having to chmod every folder one by one?
View 8 Replies
View Related
Mar 12, 2010
I am dual booting OpenSuse 11.2 and Windows 7 both 64bit on my PC. I've got VMware workstation installed on both. I've got few virtual machines which were all created in Windows VMware and they're all stored on a separate partition. I can access this partition and all other NTFS partition from Suse but with read-only permissions. That means I can't run any of these virtual machines from Suse VMware. Is there any possible way to make all these drives writeable from Suse? I'm really hoping someone would be able to help me. I've got a lot of googling and have even searched this forum but without any luck.
View 4 Replies
View Related
Feb 4, 2011
allow specific user permission to read/write my folder
I have a folder called /TAR/Sketch
I added a new user, named Snoopy, I want to grant this user the ability to add files & directories to this folder which is under the group Sketches and the owner is me.
How can I accomplish this ?
View 1 Replies
View Related
Feb 1, 2010
I just found that I could perform write operation using a normal user account to a file system I mounted with the commands as followed:
sudo mount -t ntfs /dev/sda1 /mnt/disk/
This is the corresponding entry in the output of "mount" command:
/dev/sda1 on /mnt/disk type fuseblk (rw,nosuid,nodev,allow_other,blksize=4096)
As far as I remember, when using a normal user account, I had to use "sudo" to perform any write operations (mkdir, rm, etc) to a device mounted using "sudo". But now it seems to be changed.
Do I remember wrong, or did Karmic have any updates change this setting? (I never manually changed user settings, except that I added a root user, but I never used it.)
OS: Karmic(up2dated)
Kernel: Linux stephen-laptop 2.6.31-17-generic #54-Ubuntu SMP Thu Dec 10 16:20:31 UTC 2009 i686 GNU/Linux
View 4 Replies
View Related